bugGNU Gengetopt - Bugs: bug #34392, Incorrectly named option

 
 

bug #34392: Incorrectly named option

Submitter:  Reuben Thomas <rrt>
Submitted:  Mon 26 Sep 2011 08:29:42 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  gray_wolf
Originator Name:  Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 30 May 2019 09:29:12 PM UTC, comment #5: 

You're very welcome, and it's good to see all these bugs, even though minor, being fixed now.

Reuben Thomas <rrt>
Thu 30 May 2019 09:05:45 PM UTC, comment #4: 

Thank you for noticing this :)

Gray Wolf <gray_wolf>
Group administrator
Sun 02 Oct 2011 07:37:55 PM UTC, comment #3: 

Sorry, you're quite right; updated patch attached.

(file #24084)

Reuben Thomas <rrt>
Sun 02 Oct 2011 10:10:47 AM UTC, comment #2: 

I think you made a small mistake concerning 'synonym"

option  "unamed-opts"   u "accept options without names (e.g., file names)" string default="FILES" optional argoptional
option  "unnamed-opts" - "synonym for --unnamed-opts, accepted for backwards compatibility" string default="FILES" optional argoptional hidden
 

it should be the other way round: the old unamed-opts should be hidden and synonym (and 'u' be the short option for the new --unnamed), am I right?

Lorenzo Bettini <bettini>
Group administrator
Sat 01 Oct 2011 06:33:43 PM UTC, comment #1: 

I attach a patch to make this change.

(file #24069)

Reuben Thomas <rrt>
Mon 26 Sep 2011 08:29:42 PM UTC, original submission:  

--unamed-opts should be --unnamed-opts (two n's).

I guess you will want to add the correct spelling and retain the wrong spelling as an undocumented synonym for backwards compatibility.

Reuben Thomas <rrt>

 

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

Attach Files:
   
   
Comment:
   

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gray_wolf (Posted a comment)
  • -email is unavailable- added by bettini (Updated the item)
  • -email is unavailable- added by rrt (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.

    Only logged-in users can vote.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-05-30 gray_wolf StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2019-05-29 gray_wolf StatusConfirmed In Progress
        Assigned toNone gray_wolf
    2011-10-02 rrt Attached File- Added 0002-options-rename-unamed-opts-to-unnamed-opts-keeping-o.patch, #24084
    2011-10-01 rrt Attached File- Added 0002-options-rename-unamed-opts-to-unnamed-opts-keeping-o.patch, #24069
    2011-09-28 bettini StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code