From: Timo Kokkonen Date: Fri, 23 Jul 2010 14:38:14 +0000 (+0300) Subject: print_help: Add help string for the -P and --process options X-Git-Url: http://git.itanic.dy.fi/?p=scan-pagemap;a=commitdiff_plain;h=40aac7953e3d499c6391f0ac28f0ada014952d5b print_help: Add help string for the -P and --process options Signed-off-by: Timo Kokkonen --- diff --git a/main.c b/main.c index c708163..e189dbe 100644 --- 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);