Hello,
as reported in rhbz #485712 , nl incorrectly states that long format for
-v is --first-page. Info documentation is correct and informs about
--starting-line-number as correct long option for -v. I guess best way
is to fix usage (and to not add --first-page option) as afaik nobody
complained so far.

Greetings,
         Ondrej
From 351bde49a4f5218528772a925ed1a2a42df30365 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Ond=C5=99ej=20Va=C5=A1=C3=ADk?= <[email protected]>
Date: Tue, 17 Feb 2009 13:29:33 +0100
Subject: [PATCH] nl: correct long-option name for -v in usage

* nl.c (usage): Use starting-line-number instead of first-page for -v
---
 src/nl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/nl.c b/src/nl.c
index ddd0fcf..578a7aa 100644
--- a/src/nl.c
+++ b/src/nl.c
@@ -198,7 +198,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
   -s, --number-separator=STRING   add STRING after (possible) line number\n\
 "), stdout);
       fputs (_("\
-  -v, --first-page=NUMBER         first line number on each logical page\n\
+  -v, --starting-line-number=NUMBER  first line number on each logical page\n\
   -w, --number-width=NUMBER       use NUMBER columns for line numbers\n\
 "), stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
-- 
1.5.6.1.156.ge903b

Attachment: signature.asc
Description: Toto je digitálně podepsaná část zprávy

_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to