coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] maint: define usage note about mandatory args centrally


From: Bernhard Voelker
Subject: [PATCH] maint: define usage note about mandatory args centrally
Date: Wed, 23 Jan 2013 01:18:51 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130105 Thunderbird/17.0.2

Instead of adding the text
  "Mandatory arguments to long options are mandatory
   for short options too."
in every program, define it once in system.h - similar
to emit_size_note() and emit_blocksize_note().

During the replacement, I noticed a few programs which
did not yet emit the above text although they are candidates
for it: they have at least one long option with a mandatory
argument, and a short option for the same purpose.
I added the new function there, too.

Have a nice day,
Berny

Attachment: usage-mandatory-args.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]