diff options
author | Konstantin Pereiaslov <perk11@perk11.info> | 2023-09-21 00:20:45 -0500 |
---|---|---|
committer | Konstantin Pereiaslov <perk11@perk11.info> | 2023-09-21 00:27:31 -0500 |
commit | 3d489a39a3419cffd2d6019834f1a03f40b65177 (patch) | |
tree | 8ac4c9e1eaa2e3eb1089f76ce23616c5df1c1f25 | |
parent | c3f5ac2f2c85f2356d6f7fa42bfde13c91b4410e (diff) |
Improve help text
-rw-r--r-- | arguments_parsing.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arguments_parsing.c b/arguments_parsing.c index 6f2bc83..6d954c0 100644 --- a/arguments_parsing.c +++ b/arguments_parsing.c @@ -20,8 +20,8 @@ void print_usage(char *binary_name) { printf("Usage: %s [OPTIONS] shell_command_to_run [shell_command_arguments]\n", binary_name); printf("\nOptions:\n"); printf(" --timeout|-t <seconds> Set the user idle time after which the command can run in seconds (default: 300 seconds).\n"); - printf(" --start-monitor-after|-a <ms> Set an initial delay in milliseconds before monitoring starts. During this time command runs unrestricted. This helps to catch quick errors. (default: 300 ms).\n"); - printf(" --pause-method|-m <method> Specify method for pausing the command when user is not idle. Available Options: SIGTSTP (can be ignored by the program), SIGSTOP (can not be ignored). (default: SIGTSTP).\n"); + printf(" --start-monitor-after|-a <ms> Set an initial delay in milliseconds before monitoring starts. During this time command runs unrestricted. This helps to catch errors happening after shortly after the execution has started. (default: 300 ms).\n"); + printf(" --pause-method|-m <method> Specify method for pausing the command when user is not idle. Available parameters: SIGTSTP (can be ignored by the program), SIGSTOP (can not be ignored). (default: SIGTSTP).\n"); printf(" --verbose|-v Enable verbose output for monitoring.\n"); printf(" --debug Enable debugging output.\n"); printf(" --quiet|-q Suppress all output from %s except errors and only display output from the command that is running\n", binary_name); |