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

 
 

bug #34392: Incorrectly named option

Submitted by:  Reuben Thomas <rrt>
Submitted on:  Mon 26 Sep 2011 08:29:42 PM UTC  
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Confirmed
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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 bettini (Updated the item)
  • -email is unavailable- added by rrt (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    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.3