diff options
author | Houder <houder@xs4all.nl> | 2015-12-20 13:14:34 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2015-12-20 13:14:57 +0100 |
commit | f5ad6fbb66f4abdf57b75f22017d3d70c56f27f8 (patch) | |
tree | 01ca66ff070c0dcd43ce30b40ede2899e6ccd875 /winsup/utils/setfacl.c | |
parent | f97241dcb4d9b68a4b053ec0937bbeca8defaac5 (diff) | |
download | newlib-f5ad6fbb66f4abdf57b75f22017d3d70c56f27f8.zip newlib-f5ad6fbb66f4abdf57b75f22017d3d70c56f27f8.tar.gz newlib-f5ad6fbb66f4abdf57b75f22017d3d70c56f27f8.tar.bz2 |
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>
Diffstat (limited to 'winsup/utils/setfacl.c')
-rw-r--r-- | winsup/utils/setfacl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/utils/setfacl.c b/winsup/utils/setfacl.c index a88fbcb..9d4b75d 100644 --- a/winsup/utils/setfacl.c +++ b/winsup/utils/setfacl.c @@ -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'}, |