summaryrefslogtreecommitdiff
path: root/xsd/xsd/pregenerated/xsd/options.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-09-11 10:37:45 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-09-11 10:37:45 +0200
commit7d26ea59564e573b9f8a1f025f7fd5df24ee2e80 (patch)
treef136ed0e00e74c8e1d1836ff7c28b3159ecf8f35 /xsd/xsd/pregenerated/xsd/options.cxx
parent34df5f02ffa3e0f0077a7a4b18eaf41dbc5184f9 (diff)
Add --file-list-only option
This option allows only writing the list of C++ files that would be generated without actually generating them.
Diffstat (limited to 'xsd/xsd/pregenerated/xsd/options.cxx')
-rw-r--r--xsd/xsd/pregenerated/xsd/options.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/xsd/xsd/pregenerated/xsd/options.cxx b/xsd/xsd/pregenerated/xsd/options.cxx
index d8e59f6..3022ec4 100644
--- a/xsd/xsd/pregenerated/xsd/options.cxx
+++ b/xsd/xsd/pregenerated/xsd/options.cxx
@@ -1096,6 +1096,7 @@ options ()
fat_type_file_ (),
file_list_ (),
file_list_specified_ (false),
+ file_list_only_ (),
file_list_prologue_ (),
file_list_prologue_specified_ (false),
file_list_epilogue_ (),
@@ -1178,6 +1179,9 @@ print_usage (::std::wostream& os, ::cli::usage_para p)
os << "--file-list <file> Write a list of generated C++ files to <file> or" << ::std::endl
<< " to stdout if <file> is -." << ::std::endl;
+ os << "--file-list-only Only write the list of C++ files that would be" << ::std::endl
+ << " generated without actually generating them." << ::std::endl;
+
os << "--file-list-prologue <text> Insert <text> at the beginning of the file list." << ::std::endl;
os << "--file-list-epilogue <text> Insert <text> at the end of the file list." << ::std::endl;
@@ -1252,6 +1256,8 @@ struct _cli_options_map_init
_cli_options_map_["--file-list"] =
&::cli::thunk< options, NarrowString, &options::file_list_,
&options::file_list_specified_ >;
+ _cli_options_map_["--file-list-only"] =
+ &::cli::thunk< options, &options::file_list_only_ >;
_cli_options_map_["--file-list-prologue"] =
&::cli::thunk< options, NarrowString, &options::file_list_prologue_,
&options::file_list_prologue_specified_ >;