From 7d26ea59564e573b9f8a1f025f7fd5df24ee2e80 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 11 Sep 2023 10:37:45 +0200 Subject: Add --file-list-only option This option allows only writing the list of C++ files that would be generated without actually generating them. --- xsd/xsd/pregenerated/xsd/options.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'xsd/xsd/pregenerated/xsd/options.cxx') 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 Write a list of generated C++ files to or" << ::std::endl << " to stdout if 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 Insert at the beginning of the file list." << ::std::endl; os << "--file-list-epilogue Insert 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_ >; -- cgit v1.1