diff mbox

policycoreutils: semodule - remove 'q' from getopt string

Message ID 1470313998-28458-1-git-send-email-plautrba@redhat.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

Petr Lautrbach Aug. 4, 2016, 12:33 p.m. UTC
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 <plautrba@redhat.com>
---
 policycoreutils/semodule/semodule.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Steve Lawrence Aug. 4, 2016, 12:46 p.m. UTC | #1
On 08/04/2016 08:33 AM, Petr Lautrbach wrote:
> 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 <plautrba@redhat.com>

Applied. Thanks!

> ---
>  policycoreutils/semodule/semodule.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/policycoreutils/semodule/semodule.c b/policycoreutils/semodule/semodule.c
> index 63900f4..ce048bc 100644
> --- a/policycoreutils/semodule/semodule.c
> +++ b/policycoreutils/semodule/semodule.c
> @@ -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':
>
diff mbox

Patch

diff --git a/policycoreutils/semodule/semodule.c b/policycoreutils/semodule/semodule.c
index 63900f4..ce048bc 100644
--- a/policycoreutils/semodule/semodule.c
+++ b/policycoreutils/semodule/semodule.c
@@ -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':