policycoreutils: semodule - remove 'q' from getopt string
PATCH 1/1 policycoreutils: semodule - remove 'q' from getopt string
Users are confused that this option is not documented or that 'semodule -q' doesn't show:
semodule: invalid option -- 'q'
Signed-off-by Petr Lautrbach <[email protected]>
--- policycoreutils/semodule/semodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
policycoreutils/semodule/semodule.c +1 -1
@@ -209,7 +209,7 @@ static void parse_command_line(int argc, char **argv) no_reload =0 ; priority =400 ;while ((i = -getopt_long (argc, argv,"s:b:hi:l::vqr:u:RnNBDCPX:e:d:p:S:E:cH" , opts, +getopt_long (argc, argv,"s:b:hi:l::vr:u:RnNBDCPX:e:d:p:S:E:cH" , opts,NULL )) !=-1 ) {switch (i) {case 'b' :
Signature · 1 line
1.8.3.1
Steve Lawrence
AppliedQuoted 6 lines · Petr Lautrbach
Users are confused that this option is not documented or that 'semodule -q' doesn't show:
semodule: invalid option -- 'q'
Signed-off-by Petr Lautrbach <[email protected]>
Applied. Thanks!
Quoted 18 lines
--- policycoreutils/semodule/semodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)policycoreutils/semodule/semodule.c +1
-1@@ -209,7 +209,7 @@ static void parse_command_line(int argc, char **argv) no_reload =0 ; priority =400 ;while ((i = -getopt_long (argc, argv,"s:b:hi:l::vqr:u:RnNBDCPX:e:d:p:S:E:cH" , opts, +getopt_long (argc, argv,"s:b:hi:l::vr:u:RnNBDCPX:e:d:p:S:E:cH" , opts,NULL )) !=-1 ) {switch (i) {case 'b' :