mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Rename --hex-mode to --hexadecimal
This commit is contained in:
parent
3553fc765e
commit
1b91fd9f69
4 changed files with 5 additions and 5 deletions
|
|
@ -74,7 +74,7 @@ The command-line interface is straightforward as reflected in the output from
|
|||
-m, --map <flags> Map special characters
|
||||
-c, --color 0..255|none|list Colorize tio text (default: 15)
|
||||
-S, --socket <socket> Redirect I/O to socket
|
||||
-x, --hex Enable hexadecimal mode
|
||||
-x, --hexadecimal Enable hexadecimal mode
|
||||
-v, --version Display version
|
||||
-h, --help Display help
|
||||
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@ If defining more than one flag, the flags must be comma separated.
|
|||
.RE
|
||||
|
||||
.TP
|
||||
.BR \-x ", " \-\-hex\-mode
|
||||
.BR \-x ", " \-\-hexadecimal
|
||||
|
||||
Enable hexadecimal mode.
|
||||
|
||||
|
|
@ -260,7 +260,7 @@ Set timestamp format
|
|||
Map special characters on input or output
|
||||
.IP "\fBcolor"
|
||||
Colorize tio text using ANSI color code ranging from 0 to 255
|
||||
.IP "\fBhex-mode"
|
||||
.IP "\fBhexadecimal"
|
||||
Enable hexadecimal mode
|
||||
.IP "\fBsocket"
|
||||
Set socket to redirect I/O to
|
||||
|
|
|
|||
|
|
@ -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"))
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue