[Toybox] --version for all commands?
enh
enh at google.com
Thu Sep 29 16:41:23 PDT 2016
is there a reason why --help works for all commands, but --version
only works for toybox directly?
somewhat related, is there a reason we don't advertise "toybox" in the
--version output?
this came up in the context of folks trying to work out what "ps"
they're talking to. i've been suggesting the idiom of "toy
--some-option-you-want-that-toolbox-did-not-have || toy
--legacy-option", particularly "ps -e || ps" to get the -A behavior
even if you have a tty.
but people find it surprising that (say) ps --version doesn't work,
and i suspect that if it did work, they'd find it surprising that it
doesn't say "toybox" anywhere in the output.
--
Elliott Hughes - http://who/enh - http://jessies.org/~enh/
Android native code/tools questions? Mail me/drop by/add me as a reviewer.
More information about the Toybox
mailing list