bugGNU Gengetopt - Bugs: bug #64838, Feature request: include files

 
 

bug #64838: Feature request: include files

Submitter:  J.J. Green <jjg>
Submitted:  Sun 29 Oct 2023 03:42:36 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
   

Sun 29 Oct 2023 03:42:36 PM UTC, original submission:  

I have a project with 15 or so programs, each using gengetopt for its options parsing (it's great).  Of course, a lot of these use the same options, and it it tiresome to make the same change to 15 files.  It would be really handy if the .ggo format were to support an "include" keyword which included the contests of the file argument verbatim at that point, then I could have a file, options-output.ggo

option "output" o
"write outpit to path"
string

Include that into all of my options.ggo files with

include "options-output.ggo"

notice that I'd misspelled "output" and correct them all at once :-)

J.J. Green <jjg>

 

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

Attach Files:
   
   
Comment:
   

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 jjg (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-caa5.
    Corresponding source code