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>
}
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");
}