758
tar -vczfx123 ought to do it
(imgs.xkcd.com)
Post funny things about programming here! (Or just rant about your favourite programming language.)
Wouldn't tar --help suffice? Afaik, it returns exit code 0.
Depends. Is it GNU tar, BSD tar or some old school Unix tar?
Double hyphen "long options" are a typical GNU thing.
That’s why those commands have two?
Yes, the terse Unix version, which needs to be supported for compatibility, and the more readable GNU long option
tar -h?
Ugh. Bsdtar:
But it has --help too.