Fix the -o and -s switches
At least they work as expected, once unbroken.
This commit is contained in:
parent
caa740df79
commit
929d9ec6ba
4
hex.c
4
hex.c
|
@ -1875,8 +1875,8 @@ main (int argc, char *argv[])
|
||||||
{ 'h', "help", NULL, 0, "display this help and exit" },
|
{ 'h', "help", NULL, 0, "display this help and exit" },
|
||||||
{ 'V', "version", NULL, 0, "output version information and exit" },
|
{ 'V', "version", NULL, 0, "output version information and exit" },
|
||||||
|
|
||||||
{ 'o', "offset", NULL, 0, "offset within the file" },
|
{ 'o', "offset", "OFFSET", 0, "offset within the file" },
|
||||||
{ 's', "size", NULL, 0, "size limit (1G by default)" },
|
{ 's', "size", "SIZE", 0, "size limit (1G by default)" },
|
||||||
#ifdef HAVE_LUA
|
#ifdef HAVE_LUA
|
||||||
{ 't', "type", "TYPE", 0, "force interpretation as the given type" },
|
{ 't', "type", "TYPE", 0, "force interpretation as the given type" },
|
||||||
#endif // HAVE_LUA
|
#endif // HAVE_LUA
|
||||||
|
|
Loading…
Reference in New Issue