From fba3095ec0f1e05902984f9c14152da638a9b92a Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Fri, 4 Sep 2020 18:36:08 +0900 Subject: [PATCH] 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 --- memps.c | 7 ++++--- 1 file 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] | [-f] \n" - " -s = sum (show only sum of each)\n" - " -f = all (show all processes via output file)\n" + "memps [-a] | [-v] | [-r] | [-s] | | [-f] \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"); } -- 2.7.4