summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/fsysopts.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/fsysopts.c b/utils/fsysopts.c
index d69f1147..076e2a87 100644
--- a/utils/fsysopts.c
+++ b/utils/fsysopts.c
@@ -78,6 +78,10 @@ main(int argc, char *argv[])
case 'R': recursive = 1; break;
case 'L': deref = 1; break;
+ case ARGP_KEY_NO_ARGS:
+ argp_usage (state);
+ return EINVAL;
+
default:
return ARGP_ERR_UNKNOWN;
}