mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
feature(id): add --user, --group & --groups
This commit is contained in:
parent
614bcde9ea
commit
90dfa70bd3
1 changed files with 3 additions and 3 deletions
|
@ -77,8 +77,8 @@ pub fn uumain(args: Vec<String>) -> i32 {
|
||||||
"",
|
"",
|
||||||
"Display the process audit (not available on Linux)",
|
"Display the process audit (not available on Linux)",
|
||||||
);
|
);
|
||||||
opts.optflag("G", "", "Display the different group IDs");
|
opts.optflag("G", "groups", "Display the different group IDs");
|
||||||
opts.optflag("g", "", "Display the effective group ID as a number");
|
opts.optflag("g", "group", "Display the effective group ID as a number");
|
||||||
opts.optflag(
|
opts.optflag(
|
||||||
"n",
|
"n",
|
||||||
"",
|
"",
|
||||||
|
@ -87,7 +87,7 @@ pub fn uumain(args: Vec<String>) -> i32 {
|
||||||
opts.optflag("P", "", "Display the id as a password file entry");
|
opts.optflag("P", "", "Display the id as a password file entry");
|
||||||
opts.optflag("p", "", "Make the output human-readable");
|
opts.optflag("p", "", "Make the output human-readable");
|
||||||
opts.optflag("r", "", "Display the real ID for the -g and -u options");
|
opts.optflag("r", "", "Display the real ID for the -g and -u options");
|
||||||
opts.optflag("u", "", "Display the effective user ID as a number");
|
opts.optflag("u", "user", "Display the effective user ID as a number");
|
||||||
|
|
||||||
let matches = opts.parse(args);
|
let matches = opts.parse(args);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue