LainTrain@lemmy.dbzer0.com to linuxmemes@lemmy.worldEnglish · 7 months agoOld XKCD, still relevantlemmy.dbzer0.comimagemessage-square154fedilinkarrow-up1870arrow-down112file-text
arrow-up1858arrow-down1imageOld XKCD, still relevantlemmy.dbzer0.comLainTrain@lemmy.dbzer0.com to linuxmemes@lemmy.worldEnglish · 7 months agomessage-square154fedilinkfile-text
minus-squareflying_sheep@lemmy.mllinkfedilinkarrow-up11·edit-27 months agoIt’s insane that this isn’t consistent. Any combination of -h, -? and --help exists between tools (from 0 to all 3 of them)
minus-squarezaphod@sopuli.xyzlinkfedilinkarrow-up5·7 months agoNever seen -?, it’s either -h, --help, or -help for programs that just want to be different.
minus-squareflying_sheep@lemmy.mllinkfedilinkarrow-up2·7 months agoOne example for it is … tar! https://www.man7.org/linux/man-pages/man1/tar.1.html
minus-squarezaphod@sopuli.xyzlinkfedilinkarrow-up1·7 months agoI suppose I usually try -h and if that doesn’t work I try the long version or the man page.
minus-squareAganim@lemmy.worldlinkfedilinkarrow-up6·7 months agoSorry, the bomb was running MacOS. Your command was not valid and you’ve doomed us all.
minus-squareAndrew@mander.xyzlinkfedilinkarrow-up2arrow-down1·7 months agoIt’s literally there at the bottom. What isn’t valid is MacOS, it’s macOS now.
tar --version
You’re welcome
I’d have gone with
tar --help
It’s insane that this isn’t consistent.
Any combination of
-h
,-?
and--help
exists between tools (from 0 to all 3 of them)Never seen
-?
, it’s either-h
,--help
, or-help
for programs that just want to be different.One example for it is … tar!
https://www.man7.org/linux/man-pages/man1/tar.1.html
I suppose I usually try
-h
and if that doesn’t work I try the long version or the man page.So would have been 1:4
Sorry, the bomb was running MacOS. Your command was not valid and you’ve doomed us all.
It’s literally there at the bottom.
What isn’t valid is MacOS, it’s macOS now.