Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
None
-
None
Description
I use QCommandLineParser by using the function
addOption({{"f", "folder" }, "Path to folder" , "path" }); addOption({{"s", "size" }, "Size" , "size" });
and other options with different syntaxes.
It would be beneficial in some situations to get access later in the script to (a copy of) the private variable of the class containing the final list of CLI options, namely
QList<QCommandLineOption> commandLineOptionList;
e.g. with a public function like these:
QList<QCommandLineOption> getOptionList() { return commandLineOptionList};
Thanks.