Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Be compatible with other implementation of su
o use getopt_long(3), so -l, --login can be allowed anywhere in the argument list o add -m and -p which do nothing o su -h outputs usage in stdout and exits with 0 while su with invalid options outputs usage in stderr and exits with 2 now
- Loading branch information
Jan 11, 2012
1 parent da86864 commit fc7479fab2d9d85c7c1f0bf1fee523a69d477a40
Showing 1 changed file with 65 additions and 54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters