aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2017-01-27 21:25:03 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2017-01-27 21:25:03 +0100
commit929d9ec6baffa5c8092a98b2828cd8a3b097a825 (patch)
tree215d151deea58268b2c6dacfcd4697292e7bae25
parentcaa740df79f1475374e0d0e0481567d120bd3789 (diff)
downloadhex-929d9ec6baffa5c8092a98b2828cd8a3b097a825.tar.gz
hex-929d9ec6baffa5c8092a98b2828cd8a3b097a825.tar.xz
hex-929d9ec6baffa5c8092a98b2828cd8a3b097a825.zip
Fix the -o and -s switches
At least they work as expected, once unbroken.
-rw-r--r--hex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hex.c b/hex.c
index 9a0a0b2..26664dd 100644
--- a/hex.c
+++ b/hex.c
@@ -1875,8 +1875,8 @@ main (int argc, char *argv[])
{ 'h', "help", NULL, 0, "display this help and exit" },
{ 'V', "version", NULL, 0, "output version information and exit" },
- { 'o', "offset", NULL, 0, "offset within the file" },
- { 's', "size", NULL, 0, "size limit (1G by default)" },
+ { 'o', "offset", "OFFSET", 0, "offset within the file" },
+ { 's', "size", "SIZE", 0, "size limit (1G by default)" },
#ifdef HAVE_LUA
{ 't', "type", "TYPE", 0, "force interpretation as the given type" },
#endif // HAVE_LUA