1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

chroot: remove short option "-G"

This commit is contained in:
Daniel Hofstetter 2025-01-02 13:35:19 +01:00
parent 6a8b766d6d
commit e5e589afd5
2 changed files with 1 additions and 2 deletions

View file

@ -192,7 +192,6 @@ pub fn uu_app() -> Command {
) )
.arg( .arg(
Arg::new(options::GROUPS) Arg::new(options::GROUPS)
.short('G')
.long(options::GROUPS) .long(options::GROUPS)
.help("Comma-separated list of groups to switch to") .help("Comma-separated list of groups to switch to")
.value_name("GROUP1,GROUP2..."), .value_name("GROUP1,GROUP2..."),

View file

@ -141,7 +141,7 @@ fn test_preference_of_userspec() {
.arg("a") .arg("a")
.arg("--user") .arg("--user")
.arg("fake") .arg("fake")
.arg("-G") .arg("--groups")
.arg("ABC,DEF") .arg("ABC,DEF")
.arg(format!("--userspec={username}:{group_name}")) .arg(format!("--userspec={username}:{group_name}"))
.fails(); .fails();