• @[email protected]
    link
    fedilink
    42
    edit-2
    2 months ago

    I cant believe i only learned about tldr two weeks ago…

    It’s been a total gamechanger for me. I have such shitty memory for options flags. I’m pretty comfortable with the terminal and i’ve been full time linux for 15 years now

    But i STILL cant remember common options for basic stuff like tar and curl…

    curl output to file… -O or -o??? Have to look it up every time

  • kubica
    link
    fedilink
    172 months ago

    And yet it’s not the first time I’ve tried --help --verbose

        • алсааас [she/they]
          link
          fedilink
          26
          edit-2
          2 months ago

          That’s usually the point at which I remove every software by those devs from my machines…

          using Discord as a wanna be wiki/forum or Matrix chatroom replacement speaks volumes imo

          luckily not many free/libre projects tread down that path. It’s more of an open source thing (since they don’t rly care about the 4 freedoms anyway)

          • @[email protected]
            link
            fedilink
            32 months ago

            Those freedoms are: (0) the freedom to run the software as desired and for any purpose, (1) the freedom to study or change the software, (2) the freedom to redistribute copies of the software, and (3) the freedom to distribute modified copies of the software. The numbering of these four freedoms begins with zero because “Freedom 0” was added to the list after the other three, but it is considered more foundational than the others.

            Dank

      • @brenticus
        link
        82 months ago

        Usually I hate this, I’m using man for a reason, but sometimes I’m scrolling through a novel-length man page thinking that maybe most of this information needs to be anywhere else.

      • @[email protected]
        link
        fedilink
        52 months ago

        And sometimes the URL is broken. The man page for powertop is like that. Says “for full documentation, go to this link”, the link doesn’t work any more, and I asked the developer about it and he can’t even remember what was at the URL.

      • katy ✨
        link
        fedilink
        22 months ago

        that’s the cousin of “we regularly update our app to fix bugs”

  • @[email protected]
    link
    fedilink
    132 months ago

    I think I’ve found myself wishing manpages were more detailed far more often than I’ve found myself wishing they were shorter. In any case a man page or help text should put the most important info/FAQs at the top.

    • @Acters
      link
      42 months ago

      Me too, I sometimes wish to read a larger wall of text, BUT only if there are proper categories and examples. Not just hypothetical and abstract ideas and ruminations.

  • @[email protected]
    link
    fedilink
    92 months ago

    I don’t understand why people think this is such a useful thing. Sure it has some good summaries but you can’t find all info there whereas man pages should have everything. It’s also good that tldr has examples but I think it’s something man should more often have too. So why would people rather use this than man?

    For example I often forget the order of pattern and file in grep. I can look it up easily in both man and tldr. I also forget what was the short option for recursion. Was it -r, -R or either or something else entirely? I can easily do a search on my pager to find the option in man but there’s only long option available in tldr. That’s Too Long Don’t Want to Type.

    • @WaffelsonOP
      link
      92 months ago

      I think most people use only the main functions of the program and not all of them

      • @[email protected]
        link
        fedilink
        22 months ago

        Would you agree that man page with good example section of common use cases would better serve the purpose or do you think there has to be separate tool to show only a short summary of the manual?

        • @WaffelsonOP
          link
          22 months ago

          I agree that the first option is better because it doesn’t need the support of a third party.

        • @[email protected]
          link
          fedilink
          22 months ago

          For most programs, manpage or -h is more than a whole screen of text… 99% of the time i’m just looking for a common usuage example in one line. Tldr provides that very quickly

        • @[email protected]
          link
          fedilink
          19 days ago

          I (not who you are asking) responded to your original comment about cheat.sh, but feot kinda fitting here too,

          in the case if cheat.sh it does so much more than the manpages that I would definitely say that manpages should keep doing it’s thing, because these tools strive to do more, which both makes them valuable and makes the manpages the right tool for it’s thing.

    • @[email protected]
      link
      fedilink
      2
      edit-2
      9 days ago

      I think cheat.sh has the upper hand over tldr, it retrieves the DBs from tldr and others, gives far better results imo. rsync is a decent exampøe where cheat.sh does better than tldr imo: https://cheat.sh/rsync

      as for cheat.sh vs manpages: each has their uses. As someone who uses rsync once every … two months, maybe, cheat.sh gives me the info i need much quicker. ie: -avz, but maybe -c if you want to verify file integrity, that’s 8 lines/2 examples in, but reading the manpage of rsync then checksumming is almost something you need to know to look for, which is fine for what the manpages are intended for. these cheatsheets gives you common use cases, and are more of a quick reference.

      also cheat.sh gives a lot more functionality than man, I can recommended skimming over the github page https://github.com/chubin/cheat.sh

  • Turun
    link
    fedilink
    72 months ago

    They really could allow more short options in the help text though. I know that --six-word-option-that-is-really-long does what I want. I need to know if it’s -p, -o, -f or whatever!

  • @[email protected]
    link
    fedilink
    32 months ago

    I had this happen when I went to use the program ‘plink’. The wall of text was so massive I had to get the line count.

    Over 1400 lines of help text.

    • @Feathercrown
      link
      English
      32 months ago

      At that point just show the source code and let the user figure it out

  • @[email protected]
    link
    fedilink
    12 months ago

    Nix and related tools just brings up the interactive man pages. I hate it!!! Stop making me rtfm