]> git.itanic.dy.fi Git - scan-pagemap/commitdiff
print_help: Add help string for the -P and --process options
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Fri, 23 Jul 2010 14:38:14 +0000 (17:38 +0300)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Fri, 23 Jul 2010 14:39:01 +0000 (17:39 +0300)
Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
main.c

diff --git a/main.c b/main.c
index c708163f2214b514b4bd08e331aab9a30c3e3460..e189dbe6b9769ca2e40f659a4a8589180a5ec721 100644 (file)
--- a/main.c
+++ b/main.c
@@ -10,7 +10,9 @@
 void print_help_and_die(char *name)
 {
        printf("Usage: %s options \n"
-               "-p, --pid=PID          scan maps belingin to a given pid\n"
+               "-p, --pid=PID          scan maps belonging to a given pid\n"
+               "-P, --process=PROCESS  scan maps belonging to processes with "
+               "given name\n"
                "-m, --map=mapname      scan maps with given mapping name\n"
                "-h, --help             show this help\n",
                name);