LainTrain@lemmy.dbzer0.com to linuxmemes@lemmy.worldEnglish · 6 months agoOld XKCD, still relevantlemmy.dbzer0.comimagemessage-square155fedilinkarrow-up1889arrow-down114file-text
arrow-up1875arrow-down1imageOld XKCD, still relevantlemmy.dbzer0.comLainTrain@lemmy.dbzer0.com to linuxmemes@lemmy.worldEnglish · 6 months agomessage-square155fedilinkfile-text
minus-squareflying_sheep@lemmy.mllinkfedilinkarrow-up11·edit-26 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·6 months agoNever seen -?, it’s either -h, --help, or -help for programs that just want to be different.
minus-squareflying_sheep@lemmy.mllinkfedilinkarrow-up2·6 months agoOne example for it is … tar! https://www.man7.org/linux/man-pages/man1/tar.1.html
minus-squarezaphod@sopuli.xyzlinkfedilinkarrow-up1·6 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