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


bug #34392: Incorrectly named option

Submitted by:  Reuben Thomas <rrt>
Submitted on:  Mon Sep 26 20:29:42 2011  
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Confirmed
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Sun Oct 2 19:37:55 2011, comment #3:

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

(file #24084)

Reuben Thomas <rrt>
Sun Oct 2 10:10:47 2011, 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 Oct 1 18:33:43 2011, comment #1:

I attach a patch to make this change.

(file #24069)

Reuben Thomas <rrt>
Mon Sep 26 20:29:42 2011, 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 File(s):


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by bettini (Updated the item)
  • -unavailable- added by rrt (Submitted the item)

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

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Oct 2 19:37:55 2011rrtAttached File-=>Added 0002-options-rename-unamed-opts-to-unnamed-opts-keeping-o.patch, #24084
    Sat Oct 1 18:33:43 2011rrtAttached File-=>Added 0002-options-rename-unamed-opts-to-unnamed-opts-keeping-o.patch, #24069
    Wed Sep 28 09:04:06 2011bettiniStatusNone=>Confirmed

    Back to the top

    Powered by Savane 3.1-cleanup1