• coldsideofyourpillow@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    At least part of the article seems to have been written by an LLM. For example, an error I noticed:

    For a brief and concise help message, you can run fd -h in the terminal.

    [attached image of the output]

    If you prefer a more detailed version of the help message, you can run fd --help.

    This is incorrect, as -h is simply an alias of --help. It is even apparent in the attached image.

    • puttputt@beehaw.org
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      2 years ago

      The attached image says “(see more with ‘–help’)”. And, in fact (I just tried it), the output of --help contains a lot more detail.

      Edit: for more information, fd uses the command line argument parser library clap, which has both help and long_help properties for arguments, which are displayed for -h and --help, respectively.