Skip to content
Snippets Groups Projects
Commit dd32731c authored by Nguyen Anh Quynh's avatar Nguyen Anh Quynh
Browse files

kstool: start-address argument is optional

parent d2f15c95
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@
static void usage(char *prog)
{
printf("Kstool v%s for Keystone Assembler Engine (www.keystone-engine.org)\nBy Nguyen Anh Quynh, 2016\n\n", VERSION);
printf("Syntax: %s <arch+mode> <assembly-string> <start-address> or cat <asmfile> | %s <arch+mode> <start-address>\n", prog, prog);
printf("Syntax: %s <arch+mode> <assembly-string> [start-address-in-hex-format] or cat <asmfile> | %s <arch+mode> [start-address-in-hex-format]\n", prog, prog);
printf("\nThe following <arch+mode> options are supported:\n");
if (ks_arch_supported(KS_ARCH_X86)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment