summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2020-09-04 18:36:08 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2020-09-07 12:28:28 +0900
commitfba3095ec0f1e05902984f9c14152da638a9b92a (patch)
tree523f2567b7bcbb76289b0d05115b9027be90463f
parent81d10c9776624c9de698f5eff961a91af3a1286a (diff)
downloadmemps-fba3095ec0f1e05902984f9c14152da638a9b92a.tar.gz
memps-fba3095ec0f1e05902984f9c14152da638a9b92a.tar.bz2
memps-fba3095ec0f1e05902984f9c14152da638a9b92a.zip
Update usage with using same whitespace and adding -r option
There were tabs in usage print, so usage shows different indent. Use same whitespace for all the usage options. Also add missing '-r' option explaination showing rss of all processes. Change-Id: I58ad37f032914349ac90137624ec500f7760c709 Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
-rw-r--r--memps.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/memps.c b/memps.c
index 49e7035..19c1ded 100644
--- a/memps.c
+++ b/memps.c
@@ -1369,10 +1369,11 @@ int main(int argc, char *argv[])
}
if (usage) {
fprintf(stderr,
- "memps [-a] | [-v] | [-s] <pid> | [-f] <output file full path>\n"
- " -s = sum (show only sum of each)\n"
- " -f = all (show all processes via output file)\n"
+ "memps [-a] | [-v] | [-r] | [-s] <pid> | <pid> | [-f] <output file full path>\n"
+ " -s = sum (show only sum of each)\n"
+ " -f = all (show all processes via output file)\n"
" -a = all (show all processes)\n"
+ " -r = all (show rss of all processes)\n"
" -v = verbos (show all processes in detail)\n");
}