nano-devel
[Top][All Lists]
Advanced

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

[Nano-devel] improving two long options


From: Benno Schulenberg
Subject: [Nano-devel] improving two long options
Date: Wed, 08 Jul 2015 21:35:56 +0200

The idea of "long options" seems to be that they are kind of
self-documenting, that they describe very consicely and in
clear words what the option does.  For a long time already
two of the long options of nano have bothered me: --const
and --poslog.  What does "const" mean?  It is completely
unobvious.  Also, why use an abbreviation as a long option?
Long options can be abbreviated by the user as he/she wishes,
so the long option should be as long as needed and be much
more expressive, just like --smarthome, --nonewlines, and
--quickblank.  So... I would propose --constantshow and
--positionlog (to match --historylog).  Attached two patches
make those changes.

The old --const and 'set const' and --poslog and 'set poslog'
will continue to be recognized and acted upon, but only the
longer versions will be documented.  Any objections?

Benno

-- 
http://www.fastmail.com - Does exactly what it says on the tin

Attachment: CONSTANTSHOW.patch
Description: Text Data

Attachment: POSITIONLOG.patch
Description: Text Data


reply via email to

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