Add --complete-profiles to help printout and man pages

This commit is contained in:
John Barbero Unenge 2025-06-16 14:59:24 +02:00
parent 86f48a2fb6
commit 096d21e80b
No known key found for this signature in database
GPG key ID: EB7A4200A7A3616A
4 changed files with 10 additions and 0 deletions

View file

@ -371,6 +371,10 @@ Default value is "always".
Execute shell command with I/O redirected to device
.TP
.BR "\-\-complete-profiles
Prints profiles (for shell completion)
.TP
.BR \-v ", " \-\-version

View file

@ -289,6 +289,10 @@ OPTIONS
Execute shell command with I/O redirected to device
--complete-profiles
Prints profiles (for shell completion)
-v, --version
Display program version.

View file

@ -46,6 +46,7 @@ _tio()
--script-file \
--script-run \
--exec \
--complete-profiles \
-v --version \
-h --help"

View file

@ -171,6 +171,7 @@ void option_print_help(char *argv[])
printf(" --script-file <filename> Run script from file\n");
printf(" --script-run once|always|never Run script on connect (default: always)\n");
printf(" --exec <command> Execute shell command with I/O redirected to device\n");
printf(" --complete-profiles Prints profiles (for shell completion)\n");
printf(" -v, --version Display version\n");
printf(" -h, --help Display help\n");
printf("\n");