LainTrain@lemmy.dbzer0.com to linuxmemes@lemmy.worldEnglish · 7 months agoOld XKCD, still relevantlemmy.dbzer0.comimagemessage-square157fedilinkarrow-up1895arrow-down114file-text
arrow-up1881arrow-down1imageOld XKCD, still relevantlemmy.dbzer0.comLainTrain@lemmy.dbzer0.com to linuxmemes@lemmy.worldEnglish · 7 months agomessage-square157fedilinkfile-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.
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