From 90dfa70bd3a3a88440104f0154ae355a7952954d Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Thu, 7 May 2020 23:44:29 +0200 Subject: [PATCH] feature(id): add --user, --group & --groups --- src/uu/id/src/id.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/uu/id/src/id.rs b/src/uu/id/src/id.rs index a32d955a3..33766ad1d 100644 --- a/src/uu/id/src/id.rs +++ b/src/uu/id/src/id.rs @@ -77,8 +77,8 @@ pub fn uumain(args: Vec) -> i32 { "", "Display the process audit (not available on Linux)", ); - opts.optflag("G", "", "Display the different group IDs"); - opts.optflag("g", "", "Display the effective group ID as a number"); + opts.optflag("G", "groups", "Display the different group IDs"); + opts.optflag("g", "group", "Display the effective group ID as a number"); opts.optflag( "n", "", @@ -87,7 +87,7 @@ pub fn uumain(args: Vec) -> i32 { opts.optflag("P", "", "Display the id as a password file entry"); opts.optflag("p", "", "Make the output human-readable"); 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);