@[email protected] to linuxmemesEnglish • 9 months agoOld XKCD, still relevantlemmy.dbzer0.comimagemessage-square156fedilinkarrow-up1897arrow-down114file-text
arrow-up1883arrow-down1imageOld XKCD, still relevantlemmy.dbzer0.com@[email protected] to linuxmemesEnglish • 9 months agomessage-square156fedilinkfile-text
minus-square@[email protected]linkfedilink11•edit-29 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-square@[email protected]linkfedilink5•9 months agoNever seen -?, it’s either -h, --help, or -help for programs that just want to be different.
minus-square@[email protected]linkfedilink2•9 months agoOne example for it is … tar! https://www.man7.org/linux/man-pages/man1/tar.1.html
minus-square@[email protected]linkfedilink1•9 months agoI suppose I usually try -h and if that doesn’t work I try the long version or the man page.
minus-square@Aganimlink6•9 months agoSorry, the bomb was running MacOS. Your command was not valid and you’ve doomed us all.
minus-squareAndrewlinkfedilink1•9 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.