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
|
-m, --map <flags> Map special characters
|
||||||
-c, --color 0..255|none|list Colorize tio text (default: 15)
|
-c, --color 0..255|none|list Colorize tio text (default: 15)
|
||||||
-S, --socket <socket> Redirect I/O to socket
|
-S, --socket <socket> Redirect I/O to socket
|
||||||
-x, --hex Enable hexadecimal mode
|
-x, --hexadecimal Enable hexadecimal mode
|
||||||
-v, --version Display version
|
-v, --version Display version
|
||||||
-h, --help Display help
|
-h, --help Display help
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -124,7 +124,7 @@ If defining more than one flag, the flags must be comma separated.
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.BR \-x ", " \-\-hex\-mode
|
.BR \-x ", " \-\-hexadecimal
|
||||||
|
|
||||||
Enable hexadecimal mode.
|
Enable hexadecimal mode.
|
||||||
|
|
||||||
|
|
@ -260,7 +260,7 @@ Set timestamp format
|
||||||
Map special characters on input or output
|
Map special characters on input or output
|
||||||
.IP "\fBcolor"
|
.IP "\fBcolor"
|
||||||
Colorize tio text using ANSI color code ranging from 0 to 255
|
Colorize tio text using ANSI color code ranging from 0 to 255
|
||||||
.IP "\fBhex-mode"
|
.IP "\fBhexadecimal"
|
||||||
Enable hexadecimal mode
|
Enable hexadecimal mode
|
||||||
.IP "\fBsocket"
|
.IP "\fBsocket"
|
||||||
Set socket to redirect I/O to
|
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;
|
option.local_echo = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (!strcmp(name, "hex-mode"))
|
else if (!strcmp(name, "hexadecimal"))
|
||||||
{
|
{
|
||||||
if (!strcmp(value, "enable"))
|
if (!strcmp(value, "enable"))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,7 @@ void print_help(char *argv[])
|
||||||
printf(" -m, --map <flags> Map special characters\n");
|
printf(" -m, --map <flags> Map special characters\n");
|
||||||
printf(" -c, --color 0..255|none|list Colorize tio text (default: 15)\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(" -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(" -v, --version Display version\n");
|
||||||
printf(" -h, --help Display help\n");
|
printf(" -h, --help Display help\n");
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue