patchGNU nano - Patches: patch #8689, unabbreviating the --const and...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #8689: unabbreviating the --const and --poslog options

Submitter:  Benno Schulenberg <bens>
Submitted:  Wed 17 Jun 2015 06:23:05 PM UTC
   
 
Priority:  3 - Low Status:  Done
Privacy:  Public Assigned to:  bens
Open/Closed:  Closed Release:  None

Thu 23 Jul 2015 05:50:44 PM UTC, comment #1: 

The patches went into SVN, r5299 and r5300.

Benno Schulenberg <bens>
Group administrator
Wed 17 Jun 2015 06:23:05 PM UTC, original submission:  

There is no need to make or keep long options kind of short -- when one wants to be quick, there are the short options, or one can abbreviate the long option to just a few characters (getopt allows that).  So... it is much better to make long options unambiguous, full words, and thus make them kind of self-documenting.

Attached two patches make this change for --const (--constantshow) and --poslog (--positionlog).  It also changes the corresponding nanorc option names, but keeps the old ones too for backward compatibility.

Benno Schulenberg <bens>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #34247:  CONSTANTSHOW.patch added by bens (5KiB - text/x-diff - unabbreviate the --const and --poslog options)
file #34248:  POSITIONLOG.patch added by bens (5KiB - text/x-diff - unabbreviate the --const and --poslog options)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bens (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-07-23 bens StatusNone Done
        Assigned toNone bens
        Open/ClosedOpen Closed
    2015-06-17 bens Attached File- Added CONSTANTSHOW.patch, #34247
        Attached File- Added POSITIONLOG.patch, #34248

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code