aboutsummaryrefslogtreecommitdiff
path: root/xsd/options.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-06-22 11:50:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-06-22 11:50:03 +0200
commit54110801525371740298d5cae378bfc778749935 (patch)
treef0f125135b2a1bcf1eea49a559b49d00ea25d879 /xsd/options.cli
parent3f4a7a6b2a3b708ea69b980494f6e49eb0c02ebc (diff)
Get rid of dependency on libcult
Diffstat (limited to 'xsd/options.cli')
-rw-r--r--xsd/options.cli27
1 files changed, 13 insertions, 14 deletions
diff --git a/xsd/options.cli b/xsd/options.cli
index 6ab4ab3..f10fbec 100644
--- a/xsd/options.cli
+++ b/xsd/options.cli
@@ -3,11 +3,9 @@
// copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
-include <vector>;
-include <string>;
include <cstddef>; // std::size_t
-include <cult/types.hxx>; // NarrowString
+include <types.hxx>; // NarrowString, NarrowStrings
class help_options
{
@@ -20,7 +18,7 @@ class help_options
class options = 0
{
- std::vector<Cult::Types::NarrowString> --disable-warning
+ NarrowStrings --disable-warning
{
"<warn>",
"Disable printing warning with id <warn>. If \cb{all} is specified for
@@ -70,7 +68,7 @@ class options = 0
license instead of the GPL."
};
- Cult::Types::NarrowString --custom-literals
+ NarrowString --custom-literals
{
"<file>",
"Load custom XML string to C++ literal mappings from <file>. This
@@ -100,7 +98,7 @@ class options = 0
only makes sense together with the \cb{--preserve-anonymous} option."
};
- std::vector<Cult::Types::NarrowString> --anonymous-regex
+ NarrowStrings --anonymous-regex
{
"<regex>",
"Add <regex> to the list of regular expressions used to derive names for
@@ -143,7 +141,7 @@ class options = 0
// Location options.
//
- std::vector<Cult::Types::NarrowString> --location-map
+ NarrowStrings --location-map
{
"<ol>=<nl>",
"Map the original schema location <ol> that is specified in the XML
@@ -155,7 +153,7 @@ class options = 0
\cb{--location-map http://example.com/foo.xsd=foo.xsd}"
};
- std::vector<Cult::Types::NarrowString> --location-regex
+ NarrowStrings --location-regex
{
"<regex>",
"Add <regex> to the list of regular expressions used to map schema
@@ -197,7 +195,7 @@ class options = 0
\cb{--fat-type-file}, and \cb{--file-list}."
};
- std::vector<Cult::Types::NarrowString> --type-file-regex
+ NarrowStrings --type-file-regex
{
"<regex>",
"Add <regex> to the list of regular expressions used to translate type
@@ -227,7 +225,8 @@ class options = 0
\cb{--type-file-regex} option. Use this option to find out why your
regular expressions don't do what you expected them to do."
};
- std::vector<Cult::Types::NarrowString> --schema-file-regex
+
+ NarrowStrings --schema-file-regex
{
"<regex>",
"Add <regex> to the list of regular expressions used to translate schema
@@ -274,7 +273,7 @@ class options = 0
// File list options.
//
- Cult::Types::NarrowString --file-list
+ NarrowString --file-list
{
"<file>",
"Write a list of generated C++ files to <file>. This option is primarily
@@ -283,7 +282,7 @@ class options = 0
fragment."
};
- Cult::Types::NarrowString --file-list-prologue
+ NarrowString --file-list-prologue
{
"<text>",
"Insert <text> at the beginning of the file list. As a convenience, all
@@ -292,7 +291,7 @@ class options = 0
generated file list to a makefile variable."
};
- Cult::Types::NarrowString --file-list-epilogue
+ NarrowString --file-list-epilogue
{
"<text>",
"Insert <text> at the end of the file list. As a convenience, all
@@ -300,7 +299,7 @@ class options = 0
with new lines."
};
- Cult::Types::NarrowString --file-list-delim = "\n"
+ NarrowString --file-list-delim = "\n"
{
"<text>",
"Delimit file names written to the file list with <text> instead of new