Fix the -o and -s switches

At least they work as expected, once unbroken.
This commit is contained in:
Přemysl Eric Janouch 2017-01-27 21:25:03 +01:00
parent caa740df79
commit 929d9ec6ba
Signed by: p
GPG Key ID: B715679E3A361BE6
1 changed files with 2 additions and 2 deletions

4
hex.c
View File

@ -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