diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDFArgParser.hh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/qpdf/QPDFArgParser.hh b/include/qpdf/QPDFArgParser.hh index 24e6ac48..15c17399 100644 --- a/include/qpdf/QPDFArgParser.hh +++ b/include/qpdf/QPDFArgParser.hh @@ -117,6 +117,14 @@ class QPDFArgParser QPDF_DLL void addRequiredChoices( std::string const& arg, param_arg_handler_t, char const** choices); + QPDF_DLL + + // If an option is shared among multiple tables and uses identical + // handlers, you can just copy it instead of repeating the + // registration call. + void copyFromOtherTable(std::string const& arg, + std::string const& other_table); + // The final check handler is called at the very end of argument // parsing. QPDF_DLL |