From bdfa52f3f717b9331d4ec738ef66ee6280691c80 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Sun, 21 Jul 1996 07:00:34 +0000 Subject: (main): Print an error for no args. --- utils/fsysopts.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'utils') 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; } -- cgit v1.2.3