From 929d9ec6baffa5c8092a98b2828cd8a3b097a825 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Fri, 27 Jan 2017 21:25:03 +0100
Subject: Fix the -o and -s switches
At least they work as expected, once unbroken.
---
hex.c | 4 ++--
1 file 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
--
cgit v1.2.3-70-g09d2