From cd0d27c9cb792cecc3d903e382eb34df754bb038 Mon Sep 17 00:00:00 2001 From: obarun <eric@obarun.org> Date: Tue, 5 Dec 2023 13:34:12 +1100 Subject: [PATCH] typo fix --- doc/66.md | 2 +- src/lib66/exec/ssexec_help.c | 10 +++++----- src/lib66/exec/ssexec_signal.c | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/66.md b/doc/66.md index c9ebde8b..aaadb6c7 100644 --- a/doc/66.md +++ b/doc/66.md @@ -39,7 +39,7 @@ These options are available all commands except the `-t` options. In such cases, - **-T** *timeout*: specifies a general timeout (in milliseconds) passed to command. By default the timeout is set to 0 (infinite). -- **-t** *tree*: use *tree* as tree to use. +- **-t** *tree*: set *tree* as tree to use. ## Commands diff --git a/src/lib66/exec/ssexec_help.c b/src/lib66/exec/ssexec_help.c index 09cb701a..f1c1ce23 100644 --- a/src/lib66/exec/ssexec_help.c +++ b/src/lib66/exec/ssexec_help.c @@ -26,7 +26,7 @@ inline void info_help (char const *help,char const *usage) char const *usage_66 = "66 [ -h ] [ -z ] [ -v verbosity ] [ -l live ] [ -T timeout ] [ -t tree ] start|stop|reload|restart|free|reconfigure|enable|disable|configure|status|resolve|state|remove|signal|tree|parse|scandir|boot|poweroff|reboot|halt|version [<command options> or <subcommand options> ] service...|tree" ; char const *help_66 = -"\nmain tool to init a system, control and manage services\n" +"\nprogram to init a system, control and manage services\n" "\n" "options:\n" " -h: print this help\n" @@ -34,7 +34,7 @@ char const *help_66 = " -v verbosity: increase/decrease verbosity of the command\n" " -l live: changes live directory\n" " -T timeout: general timeout (in milliseconds) passed to command\n" -" -t tree: use tree as tree to use\n" +" -t tree: set tree as tree to use\n" "\n" "command:\n" " start: bring up service\n" @@ -148,7 +148,7 @@ char const *help_parse = char const *usage_reconfigure = "66 reconfigure [ -h ] [ -P ] service..." ; char const *help_reconfigure = -"\nconvenient tool to bring down, unsupervise, parse again and bring up services in one pass\n" +"\nconvenient command to bring down, unsupervise, parse again and bring up services in one pass\n" "\n" "options:\n" " -h: print this help\n" @@ -158,7 +158,7 @@ char const *help_reconfigure = char const *usage_reload = "66 reload [ -h ] [ -P ] service..." ; char const *help_reload = -"\nconvenient tool to send a SIGHUP signal to services\n" +"\nconvenient command to send a SIGHUP signal to services\n" "\n" "options:\n" " -h: print this help\n" @@ -168,7 +168,7 @@ char const *help_reload = char const *usage_restart = "66 restart [ -h ] [ -P ] service..." ; char const *help_restart = -"\nconvenient tool to bring down then bring up services in one pass\n" +"\nconvenient command to bring down then bring up services in one pass\n" "\n" "options:\n" " -h: print this help\n" diff --git a/src/lib66/exec/ssexec_signal.c b/src/lib66/exec/ssexec_signal.c index 3b19ec0b..a43c0eb6 100644 --- a/src/lib66/exec/ssexec_signal.c +++ b/src/lib66/exec/ssexec_signal.c @@ -73,11 +73,11 @@ int ssexec_signal(int argc, char const *const *argv, ssexec_t *info) * STATE_FLAGS_TOPROPAGATE = 1 * send signal to the depends/requiredby of the service * - * When we come from 66 start/stop tool we always want to + * When we come from 66 start/stop command we always want to * propagate the signal. But we may need/want to send a e.g. SIGHUP signal * to a specific service without interfering on its depends/requiredby services * - * Also, we only deal with already supervised service. This tool is the signal sender, + * Also, we only deal with already supervised service. This command is the signal sender, * it not intended to sanitize the state of the services. * * */ -- GitLab