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
1b91fd9f69
commit
db88a9d664
2 changed files with 3 additions and 3 deletions
|
|
@ -27,7 +27,7 @@ _tio()
|
|||
-L --list-devices \
|
||||
-c --color \
|
||||
-S --socket \
|
||||
-x --hex-mode \
|
||||
-x --hexadecimal \
|
||||
-v --version \
|
||||
-h --help"
|
||||
|
||||
|
|
@ -102,7 +102,7 @@ _tio()
|
|||
COMPREPLY=( $(compgen -W "unix: inet: inet6:" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
-x | --hex-mode)
|
||||
-x | --hexadecimal)
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
|
|
|
|||
|
|
@ -199,7 +199,7 @@ void options_parse(int argc, char *argv[])
|
|||
{"socket", required_argument, 0, 'S' },
|
||||
{"map", required_argument, 0, 'm' },
|
||||
{"color", required_argument, 0, 'c' },
|
||||
{"hex-mode", no_argument, 0, 'x' },
|
||||
{"hexadecimal", no_argument, 0, 'x' },
|
||||
{"version", no_argument, 0, 'v' },
|
||||
{"help", no_argument, 0, 'h' },
|
||||
{0, 0, 0, 0 }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue