diff options
Diffstat (limited to 'commands/nv.c')
-rw-r--r-- | commands/nv.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/commands/nv.c b/commands/nv.c index 37cdb96647..798b1eaa04 100644 --- a/commands/nv.c +++ b/commands/nv.c @@ -55,8 +55,10 @@ static int do_nv(int argc, char *argv[]) argc -= optind; argv += optind; - if (argc < 1) + if (argc < 1) { + printf("Invalid usage: Missing argument"); return COMMAND_ERROR_USAGE; + } for (i = 0; i < argc; i++) { value = strchr(argv[0], '='); |