diff --git a/pgrep.1 b/pgrep.1 index bc0c9720..1c37e435 100644 --- a/pgrep.1 +++ b/pgrep.1 @@ -2,7 +2,7 @@ .\" Licensed under version 2 of the GNU General Public License. .\" Copyright 2000 Kjetil Torgrim Homme .\" -.TH PGREP "1" "September 2011" "procps-ng" "User Commands" +.TH PGREP "1" "October 2012" "procps-ng" "User Commands" .SH NAME pgrep, pkill \- look up or signal processes based on name and other attributes .SH SYNOPSIS @@ -51,7 +51,7 @@ Suppress normal output; instead print a count of matching processes. When count does not match anything, e.g. returns zero, the command will return non-zero value. (\fBpgrep\fP only.) .TP -\fB\-d\fR, \fB\-\-delimeter\fR \fIdelimiter\fP +\fB\-d\fR, \fB\-\-delimiter\fR \fIdelimiter\fP Sets the string used to delimit each process ID in the output (by default a newline). .RB ( pgrep diff --git a/pgrep.c b/pgrep.c index 37c7d6cc..6cba9aa5 100644 --- a/pgrep.c +++ b/pgrep.c @@ -97,7 +97,7 @@ static int __attribute__ ((__noreturn__)) usage(int opt) fputs(USAGE_OPTIONS, fp); if (i_am_pkill == 0) { fputs(_(" -c, --count count of matching processes\n" - " -d, --delimeter specify output delimeter\n" + " -d, --delimiter specify output delimiter\n" " -l, --list-name list PID and process name\n" " -v, --inverse negates the matching\n"), fp); } @@ -604,7 +604,7 @@ static void parse_opts (int argc, char **argv) static const struct option longopts[] = { {"signal", required_argument, NULL, SIGNAL_OPTION}, {"count", no_argument, NULL, 'c'}, - {"delimeter", required_argument, NULL, 'd'}, + {"delimiter", required_argument, NULL, 'd'}, {"list-name", no_argument, NULL, 'l'}, {"list-full", no_argument, NULL, 'a'}, {"full", no_argument, NULL, 'f'},