Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jul 2024 14:02:54 GMT
From:      Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?= <des@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: ca75b7dac886 - main - sdiff: Fix usage message.
Message-ID:  <202407291402.46TE2sds049453@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by des:

URL: https://cgit.FreeBSD.org/src/commit/?id=ca75b7dac886de66fc06fd31facfa2c561f7567e

commit ca75b7dac886de66fc06fd31facfa2c561f7567e
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2024-07-29 14:02:25 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2024-07-29 14:02:25 +0000

    sdiff: Fix usage message.
    
    The `--ignore-all-space` option was incorrectly documented as
    `--ignore-all-spaces`.
    
    MFC after:      3 days
    Sponsored by:   Klara, Inc.
    Reviewed by:    0mp, markj
    Differential Revision:  https://reviews.freebsd.org/D46161
---
 usr.bin/sdiff/sdiff.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.bin/sdiff/sdiff.c b/usr.bin/sdiff/sdiff.c
index 05e3ee82212c..b796bb4224a8 100644
--- a/usr.bin/sdiff/sdiff.c
+++ b/usr.bin/sdiff/sdiff.c
@@ -129,7 +129,7 @@ static const char *help_msg[] = {
 	"\t-I RE, --ignore-matching-lines=RE: ignore changes whose line matches RE.",
 	"\t-i, --ignore-case: do a case-insensitive comparison.",
 	"\t-t, --expand-tabs: expand tabs to spaces.",
-	"\t-W, --ignore-all-spaces: ignore all spaces.",
+	"\t-W, --ignore-all-space: ignore all whitespace.",
 	"\t--speed-large-files: assume large file with scattered changes.",
 	"\t--strip-trailing-cr: strip trailing carriage return.",
 	"\t--ignore-file-name-case: ignore case of file names.",



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407291402.46TE2sds049453>