[prev in list] [next in list] [prev in thread] [next in thread] 

List:       coreutils-bug
Subject:    bug#22498: cmp man page too sophisticated
From:       Bernhard Voelker <mail () bernhard-voelker ! de>
Date:       2016-02-01 23:02:15
Message-ID: 56AFE3F7.10205 () bernhard-voelker ! de
[Download RAW message or body]

tag 22498 notabug
close 22498
stop

On 01/31/2016 03:45 AM, 積丹尼 Dan Jacobson wrote:
> Man cmp:
>        -i, --ignore-initial=SKIP
>               skip first SKIP bytes of both inputs
> 
>        -i, --ignore-initial=SKIP1:SKIP2
>               skip first SKIP1 bytes of FILE1 and first SKIP2 bytes of FILE2
> I would say:
> 
>        -i SKIP, --ignore-initial=SKIP
>               skip first SKIP bytes of both inputs
> 
>        -i SKIP1:SKIP2, --ignore-initial=SKIP1:SKIP2
>               skip first SKIP1 bytes of FILE1 and first SKIP2 bytes of FILE2
> 
> I mean if the user was smart enough to figure that out, he probably
> wouldn't be reading the man page anyway.

'cmp' is not part of the GNU coreutils:

  $ cmp --help | grep bugs
  Report bugs to: bug-diffutils@gnu.org

Therefore, I'm marking this as not a bug here.

You may want to discuss this on the diffutils mailing list,
but I think you'll be directed to this sentence in front
of the options list of the --help output:

  Mandatory arguments to long options are mandatory for short options too.

Have a nice day,
Berny




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic