commit | 499ba7d3be449a031955d3a77193ed506b7b7317 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Mar 26 17:09:41 2015 -0700 |
committer | Elliott Hughes <enh@google.com> | Thu Mar 26 17:09:41 2015 -0700 |
tree | c45334194edae436db96547fa728c01601ea86ff | |
parent | d56e76f04b1f2ec89c52f68941591c54b8da21b3 [diff] |
Special-case "su --help". Rather than force people to move from "su system echo -n hello", where the -n gets interpreted by getopt_long(3), to "su system -- echo -n hello", just hard-code the recognition of --help. This seems easier than moving people over to the more traditional "su -c 'echo -n hello'" style. Bug: 19948740 Change-Id: I248269343b452a381effb7b8926ac7f2522b941b