setfacl --mask/--no-mask really don't need an argument

* setfacl.cc (longopts): Drop accidentally requiring an argument to
        the --mask and --no-mask options.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Houder 2015-12-20 13:14:34 +01:00 committed by Corinna Vinschen
parent f97241dcb4
commit f5ad6fbb66
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2015-12-20 Houder <houder@xs4all.nl>
* setfacl.cc (longopts): Drop accidentally requiring an argument to
the --mask and --no-mask options.
2015-12-19 Houder <houder@xs4all.nl>
* setfacl.cc (opts): Add colon to x option.

View File

@ -626,8 +626,8 @@ struct option longopts[] = {
{"file", required_argument, NULL, 'f'},
{"remove-default", no_argument, NULL, 'k'},
{"modify", required_argument, NULL, 'm'},
{"no-mask", required_argument, NULL, 'n'},
{"mask", required_argument, NULL, '\n'},
{"no-mask", no_argument, NULL, 'n'},
{"mask", no_argument, NULL, '\n'},
{"replace", no_argument, NULL, 'r'},
{"substitute", required_argument, NULL, 's'},
{"help", no_argument, NULL, 'h'},