LainTrain@lemmy.dbzer0.com to linuxmemes@lemmy.worldEnglish · 3 months agoOld XKCD, still relevantlemmy.dbzer0.comimagemessage-square156fedilinkarrow-up1893arrow-down114file-text
arrow-up1879arrow-down1imageOld XKCD, still relevantlemmy.dbzer0.comLainTrain@lemmy.dbzer0.com to linuxmemes@lemmy.worldEnglish · 3 months agomessage-square156fedilinkfile-text
minus-squareflying_sheep@lemmy.mllinkfedilinkarrow-up11·edit-23 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·3 months agoNever seen -?, it’s either -h, --help, or -help for programs that just want to be different.
minus-squareflying_sheep@lemmy.mllinkfedilinkarrow-up2·3 months agoOne example for it is … tar! https://www.man7.org/linux/man-pages/man1/tar.1.html
minus-squarezaphod@sopuli.xyzlinkfedilinkarrow-up1·3 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·3 months agoSorry, the bomb was running MacOS. Your command was not valid and you’ve doomed us all.
minus-squareAndrew@mander.xyzlinkfedilinkarrow-up2arrow-down1·3 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.