From: Craig Small <csmall@enc.com.au>
Date: Thu, 11 Oct 2012 10:34:50 +0000 (+1100)
Subject: pgrep delimeter to delimiter
X-Git-Tag: v3.3.4~4
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9a60202b818c4566c33a0b7cfc7b79e886d006f8;p=procps-ng

pgrep delimeter to delimiter

pgrep used delimiter and delimeter, the correct spelling is delimiter.
Thanks to Alexander Kobel for the heads-up.

Signed-off-by: Craig Small <csmall@enc.com.au>
---

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 <string>  specify output delimeter\n"
+			" -d, --delimiter <string>  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'},