diff options
Diffstat (limited to 'toys')
-rw-r--r-- | toys/other/sysctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/sysctl.c b/toys/other/sysctl.c index ad643c92..37735942 100644 --- a/toys/other/sysctl.c +++ b/toys/other/sysctl.c @@ -149,7 +149,7 @@ void sysctl_main() // Loop through arguments, displaying or assigning as appropriate } else { - if (!*toys.optargs) help_exit(0); + if (!*toys.optargs) help_exit("Needs 1 arg"); for (args = toys.optargs; *args; args++) process_key(*args, 0); } } |