mirror of
https://github.com/tio/tio.git
synced 2026-05-01 23:07:58 +02:00
Rename --hex-mode to --hexadecimal
This commit is contained in:
parent
1b91fd9f69
commit
db88a9d664
2 changed files with 3 additions and 3 deletions
|
|
@ -27,7 +27,7 @@ _tio()
|
||||||
-L --list-devices \
|
-L --list-devices \
|
||||||
-c --color \
|
-c --color \
|
||||||
-S --socket \
|
-S --socket \
|
||||||
-x --hex-mode \
|
-x --hexadecimal \
|
||||||
-v --version \
|
-v --version \
|
||||||
-h --help"
|
-h --help"
|
||||||
|
|
||||||
|
|
@ -102,7 +102,7 @@ _tio()
|
||||||
COMPREPLY=( $(compgen -W "unix: inet: inet6:" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "unix: inet: inet6:" -- ${cur}) )
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
-x | --hex-mode)
|
-x | --hexadecimal)
|
||||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
|
|
|
||||||
|
|
@ -199,7 +199,7 @@ void options_parse(int argc, char *argv[])
|
||||||
{"socket", required_argument, 0, 'S' },
|
{"socket", required_argument, 0, 'S' },
|
||||||
{"map", required_argument, 0, 'm' },
|
{"map", required_argument, 0, 'm' },
|
||||||
{"color", required_argument, 0, 'c' },
|
{"color", required_argument, 0, 'c' },
|
||||||
{"hex-mode", no_argument, 0, 'x' },
|
{"hexadecimal", no_argument, 0, 'x' },
|
||||||
{"version", no_argument, 0, 'v' },
|
{"version", no_argument, 0, 'v' },
|
||||||
{"help", no_argument, 0, 'h' },
|
{"help", no_argument, 0, 'h' },
|
||||||
{0, 0, 0, 0 }
|
{0, 0, 0, 0 }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue