Rename --hex-mode to --hexadecimal

This commit is contained in:
Martin Lund 2022-07-01 13:16:14 +02:00
parent 3553fc765e
commit 1b91fd9f69
4 changed files with 5 additions and 5 deletions

View file

@ -171,7 +171,7 @@ static int data_handler(void *user, const char *section, const char *name,
option.local_echo = false;
}
}
else if (!strcmp(name, "hex-mode"))
else if (!strcmp(name, "hexadecimal"))
{
if (!strcmp(value, "enable"))
{

View file

@ -88,7 +88,7 @@ void print_help(char *argv[])
printf(" -m, --map <flags> Map special characters\n");
printf(" -c, --color 0..255|none|list Colorize tio text (default: 15)\n");
printf(" -S, --socket <socket> Redirect I/O to socket\n");
printf(" -x, --hex-mode Enable hexadecimal mode\n");
printf(" -x, --hexadecimal Enable hexadecimal mode\n");
printf(" -v, --version Display version\n");
printf(" -h, --help Display help\n");
printf("\n");