diff --git a/userspace/ksud/src/su.rs b/userspace/ksud/src/su.rs index 8d79c6ca..50c458ab 100644 --- a/userspace/ksud/src/su.rs +++ b/userspace/ksud/src/su.rs @@ -104,10 +104,11 @@ pub fn root_shell() -> Result<()> { "preserve-environment", "preserve the entire environment", ); - opts.optflag( + opts.optopt( "s", "shell", "use SHELL instead of the default /system/bin/sh", + "SHELL", ); opts.optflag("v", "version", "display version number and exit"); opts.optflag("V", "", "display version code and exit");