Skip to content

Extraargs

Sebastian Neubert requested to merge sneubert/IOjuggler:extraargs into master

This adds the ability to store extra arguments in the command line option parser. For example if you have something like this:

myapp -i blub -o bla file1.txt file2.txt file3.txt ......

file1.txt file2.txt etc will appear in the property tree in a list called extraargs extraargs is a node which contains elements that have an empty key and the values are the strings (in the example file1.txt etc) So you have to loop over the content of extraargs to retrieve the options.

This can be used to pass a list of files to an application. A well known example for this pattern is hadd

Merge request reports