bugGNU Gengetopt - Bugs: bug #34398, Cannot insert text immediately...


bug #34398: Cannot insert text immediately after usage if usage automatically generated

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

Add a New Comment Rich Markup

Mon 26 Sep 2011 09:09:49 PM UTC, original submission:  

If I do not give a "usage" line, then my first "text" line is placed after the help for --help and --version, even though it occurs before all the options. This is counter-intuitive!

However, since my text line occurs directly after "purpose", it would be more logical to put it there.

It seems to me two things are needed:

1. Automatically-generated options text should logically be attached to the first "option" line, so that any "text" lines before that are displayed before the first option. I don't know if there are any other keywords that need similar treatment.

2. It should be possible to indicate an optional keyword without defining it, for the purposes of placing text near it. In this case:

text "Foo"

should generate the default text for usage; the position of "usage" indicates that the following text line should come after the usage.

Reuben Thomas <rrt>


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -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.


    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-ee12.
    Corresponding source code