diff options
author | Daniel Bristot de Oliveira <daniel@bristot.me> | 2020-09-10 12:14:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-10 12:14:53 +0200 |
commit | 8467ad4da91bce8edad458cfc0f2f72b03d81e7e (patch) | |
tree | 5f91866a58423b6e1f5737fc8c3d7482da0b3cc8 | |
parent | 1c5fb4e9ae5bfaa04b66aff72c9391089eedb428 (diff) | |
parent | 2800cd961db6744d2c0a80e46ee0d9a8f7ddae4c (diff) | |
download | stalld-8467ad4da91bce8edad458cfc0f2f72b03d81e7e.tar.gz |
Merge pull request #16 from jmencak/fix-docs-option
Fix an option in README.md; consistency in user facing docs.
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | src/stalld.c | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -22,7 +22,7 @@ continues to monitor thread states. `Usage: stalld [-l] [-v] [-k] [-s] [-f] [-h] [-c cpu-list] [-p time in ns] [-r time in ns] - [-d time in seconds ] [-t time in seconds ]` + [-d time in seconds] [-t time in seconds]` ### Logging options - -l/--log_only: only log information (do not boost) [false] @@ -31,7 +31,7 @@ continues to monitor thread states. - -s/--log_syslog: print log to syslog [true] ### Startup options -- -p/--cpu: list of cpus to monitor for stalled threads [all cpus] +- -c/--cpu: list of cpus to monitor for stalled threads [all cpus] - -f/--foreground: run in foreground [false but true when -v] - -P/--pidfile: write daemon pid to specified file [no pidfile] diff --git a/src/stalld.c b/src/stalld.c index 379113f..c9aaa36 100644 --- a/src/stalld.c +++ b/src/stalld.c @@ -811,10 +811,10 @@ void print_usage(void) char *msg[] = { "stalld: starvation detection and avoidance (with bounds)", - " usage: stalld [-l] [-v] [-k] [-s] [-f] [-h]\\", + " usage: stalld [-l] [-v] [-k] [-s] [-f] [-h] \\", " [-c cpu-list] \\", " [-p time in ns] [-r time in ns] \\", - " [-d time in seconds ] [-t time in seconds ]", + " [-d time in seconds] [-t time in seconds]", "", " logging options:", " -l/--log_only: only log information (do not boost)", |