Commit 1fd01754 by Johannes van Waveren

turn -x into an option next to -o

parent ecb0f3b7
...@@ -297,12 +297,6 @@ void ProcessArguments(int argc, char* argv[]) ...@@ -297,12 +297,6 @@ void ProcessArguments(int argc, char* argv[])
break; break;
case 'x': case 'x':
Options |= EOptionOutputHexadecimal; Options |= EOptionOutputHexadecimal;
binaryFileName = argv[1];
if (argc > 0) {
argc--;
argv++;
} else
Error("no <file> provided for -x");
break; break;
default: default:
usage(); usage();
...@@ -785,7 +779,7 @@ void usage() ...@@ -785,7 +779,7 @@ void usage()
" -t multi-threaded mode\n" " -t multi-threaded mode\n"
" -v print version strings\n" " -v print version strings\n"
" -w suppress warnings (except as required by #extension : warn)\n" " -w suppress warnings (except as required by #extension : warn)\n"
" -x <file> save 32-bit hex numbers as text to <file>, requires a binary option (e.g., -V)\n" " -x save 32-bit hexadecimal numbers as text, requires a binary option (e.g., -V)\n"
); );
exit(EFailUsage); exit(EFailUsage);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment