[Toybox] echo --help

enh enh at google.com
Tue Oct 7 11:22:35 PDT 2025


yeah, "if you're not using -- you're already doing it wrong" sgtm.

On Tue, Oct 7, 2025 at 1:45 PM Rob Landley <rob at landley.net> wrote:
>
> In bash, "echo --help" prints "--help". In /bin/bash it dumps help text.
>
> Gnu is nothing if not consistent.
>
> I'm leaning toward NOT making echo NOHELP because we (uniquely!) parse
> -- and already have -e and friends (so echo -- "$THINGY" should be
> safe), but I'm open to countervailing arguments...
>
> Rob
> _______________________________________________
> Toybox mailing list
> Toybox at lists.landley.net
> http://lists.landley.net/listinfo.cgi/toybox-landley.net


More information about the Toybox mailing list