Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
id: don't ignore extra arguments (#494)
* This version of id follows BSD and only supports one user argument * Instead of ignoring extra arguments, print usage and exit as done by OpenBSD version * test1: valid usage: "perl id 0" --> display root user on my Linux system * test2: invalid usage: "perl id 0 0 0 0 0" --> previously did not raise error * test3: valid usage: "perl id" --> user taken as "current user"
- Loading branch information