summaryrefslogtreecommitdiffstats
path: root/commands/mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/mem.c')
-rw-r--r--commands/mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/mem.c b/commands/mem.c
index 907f1f76a8..29eaa80b23 100644
--- a/commands/mem.c
+++ b/commands/mem.c
@@ -74,7 +74,7 @@ int mem_parse_options(int argc, char *argv[], char *optstr, int *mode,
*swab = 1;
break;
default:
- return -1;
+ return COMMAND_ERROR_USAGE;
}
}