extern crate clap; extern crate regex; include!("../clap-test.rs"); use clap::{App, AppSettings, SubCommand, ErrorKind, Arg}; static HELP: &'static str = "clap-test v1.4.8 Kevin K. tests clap library USAGE: clap-test [FLAGS] [OPTIONS] [ARGS] [SUBCOMMAND] FLAGS: -f, --flag tests flags -F tests flags with exclusions -h, --help Prints help information -V, --version Prints version information OPTIONS: -O, --Option specific vals [values: fast, slow] --long-option-2 tests long options with exclusions --maxvals3 ... Tests 3 max vals --minvals2 ... Tests 2 min vals --multvals Tests mutliple values, not mult occs --multvalsmo Tests mutliple values, and mult occs -o, --option ... tests options ARGS: tests positionals tests positionals with exclusions ... tests specific values [values: vi, emacs] SUBCOMMANDS: help Prints this message or the help of the given subcommand(s) subcmd tests subcommands"; static AFTER_HELP: &'static str = "some text that comes before the help clap-test v1.4.8 tests clap library USAGE: clap-test FLAGS: -h, --help Prints help information -V, --version Prints version information some text that comes after the help"; static SC_HELP: &'static str = "subcmd 0.1 Kevin K. tests subcommands USAGE: subcmd [FLAGS] [OPTIONS] [--] [scpositional] FLAGS: -f, --flag tests flags OPTIONS: -o, --option ... tests options ARGS: tests positionals"; static MULTI_SC_HELP: &'static str = "ctest-subcmd-multi 0.1 Kevin K. tests subcommands USAGE: ctest subcmd multi [FLAGS] [OPTIONS] FLAGS: -f, --flag tests flags -h, --help Prints help information -V, --version Prints version information OPTIONS: -o, --option ... tests options"; static ISSUE_626_CUTOFF: &'static str = "ctest 0.1 USAGE: ctest [OPTIONS] FLAGS: -h, --help Prints help information -V, --version Prints version information OPTIONS: -c, --cafe A coffeehouse, coffee shop, or café is an establishment which primarily serves hot coffee, related coffee beverages (e.g., café latte, cappuccino, espresso), tea, and other hot beverages. Some coffeehouses also serve cold beverages such as iced coffee and iced tea. Many cafés also serve some type of food, such as light snacks, muffins, or pastries."; static ISSUE_626_PANIC: &'static str = "ctest 0.1 USAGE: ctest [OPTIONS] FLAGS: -h, --help Prints help information -V, --version Prints version information OPTIONS: -c, --cafe La culture du café est très développée dans de nombreux pays à climat chaud d\'Amérique, d\'Afrique et d\'Asie, dans des plantations qui sont cultivées pour les marchés d\'exportation. Le café est souvent une contribution majeure aux exportations des régions productrices."; static HIDE_POS_VALS: &'static str = "ctest 0.1 USAGE: ctest [OPTIONS] FLAGS: -h, --help Prints help information -V, --version Prints version information OPTIONS: -c, --cafe A coffeehouse, coffee shop, or café. -p, --pos Some vals [values: fast, slow]"; static OLD_NEWLINE_CHARS: &'static str = "ctest 0.1 USAGE: ctest [FLAGS] FLAGS: -h, --help Prints help information -m Some help with some wrapping (Defaults to something) -V, --version Prints version information"; static ISSUE_688: &'static str = "ctest 0.1 USAGE: ctest [OPTIONS] FLAGS: -h, --help Prints help information -V, --version Prints version information OPTIONS: --filter Sets the filter, or sampling method, to use for interpolation when resizing the particle images. The default is Linear (Bilinear). [values: Nearest, Linear, Cubic, Gaussian, Lanczos3]"; static ISSUE_702: &'static str = "myapp 1.0 foo bar USAGE: myapp [OPTIONS] [--] [ARGS] FLAGS: -h, --help Prints help information -V, --version Prints version information OPTIONS: -l, --label