summaryrefslogtreecommitdiff
path: root/utils/fsysopts.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-07-21 07:00:34 +0000
committerMiles Bader <miles@gnu.org>1996-07-21 07:00:34 +0000
commitbdfa52f3f717b9331d4ec738ef66ee6280691c80 (patch)
treea6b1482a944aa3070de377627cb2f1e08da10040 /utils/fsysopts.c
parent581d2f982e4868b41b38d4c107cc3302e9f0b73a (diff)
(main): Print an error for no args.
Diffstat (limited to 'utils/fsysopts.c')
-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;
}