diff options
author | Jeremie Koenig <jk@jk.fr.eu.org> | 2010-09-01 10:19:49 +0000 |
---|---|---|
committer | Thomas Schwinge <thomas@schwinge.name> | 2010-09-14 17:09:47 +0200 |
commit | 8dc9884fc74243a6810fdcac603e1941962b666a (patch) | |
tree | bfc25f31bb2f4c87f51965aba7d4d411074d7a75 /main.c | |
parent | 5c7310fd853620627b57c72ddcc3b212f29f6056 (diff) |
Use the user-provided kernel PID for uptime
* rootdir.c (get_boottime, get_idletime): replace KERNEL_PID with the
opt_kernel_pid command-line option.
* main.c (argp): Document the change.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -114,7 +114,8 @@ struct argp argp = { "purposes. If PID is omitted, \"self\" will point to init. " "(default: no self link)" }, { "kernel-process", 'k', "PID", 0, - "Process identifier for the kernel, used to retreive its command line " + "Process identifier for the kernel, used to retreive its command " + "line, as well as the global up and idle times. " "(default: 2)" }, { "compatible", 'c', NULL, 0, "Try to be compatible with the Linux procps utilities. " |