]> git.itanic.dy.fi Git - scan-pagemap/blobdiff - main.c
print_help: Add help string for the -P and --process options
[scan-pagemap] / 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);