aboutsummaryrefslogtreecommitdiff
path: root/sfmain.c
diff options
context:
space:
mode:
authorEduardo Casino <mail@eduardocasino.es>2022-06-11 02:50:31 +0200
committerJavier <dev.git@javispedro.com>2022-07-14 19:31:03 +0200
commit6a0d94932218dc791dcf6845d2513fa1258b1cd3 (patch)
tree7cd53bf489210ceb3745e456a7d207b9b4fa6f53 /sfmain.c
parentb3531ad0d1b159e9540d621a91628cedf1890064 (diff)
downloadvbados-6a0d94932218dc791dcf6845d2513fa1258b1cd3.tar.gz
vbados-6a0d94932218dc791dcf6845d2513fa1258b1cd3.zip
Fix error message for hash option
Diffstat (limited to 'sfmain.c')
-rw-r--r--sfmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfmain.c b/sfmain.c
index 5b69eb2..0bedbea 100644
--- a/sfmain.c
+++ b/sfmain.c
@@ -710,7 +710,7 @@ int main(int argc, const char *argv[])
hash_chars = argv[++argi][0] - '0';
}
else {
- return invalid_arg(argv[argi]);
+ return arg_required(argv[argi]);
}
} else {
return invalid_arg(argv[argi]);