summaryrefslogtreecommitdiffstats
path: root/commands/hashsum.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/hashsum.c')
-rw-r--r--commands/hashsum.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/hashsum.c b/commands/hashsum.c
index d05e571fb9..70aab2c4bf 100644
--- a/commands/hashsum.c
+++ b/commands/hashsum.c
@@ -42,6 +42,8 @@ static int do_hash(char *algo, int argc, char *argv[])
key = optarg;
keylen = strlen(key);
break;
+ default:
+ return COMMAND_ERROR_USAGE;
}
}