use super::utils; use clap::{arg, error::ErrorKind, Arg, ArgGroup, Command, PossibleValue}; static REQUIRE_DELIM_HELP: &str = "test 1.3 Kevin K. tests stuff USAGE: test --fake : OPTIONS: -f, --fake : some help -h, --help Print help information -V, --version Print version information "; static HELP: &str = "clap-test v1.4.8 Kevin K. tests clap library USAGE: clap-test [OPTIONS] [ARGS] [SUBCOMMAND] ARGS: tests positionals tests positionals with exclusions ... tests specific values [possible values: vi, emacs] OPTIONS: -f, --flag tests flags -F tests flags with exclusions -h, --help Print help information --long-option-2 tests long options with exclusions --maxvals3 ... Tests 3 max vals --minvals2 ... Tests 2 min vals --multvals Tests multiple values, not mult occs --multvalsmo Tests multiple values, and mult occs -o, --option ... tests options -O, --option3 specific vals [possible values: fast, slow] --optvaleq[=] Tests optional value, require = sign --optvalnoeq [] Tests optional value -V, --version Print version information SUBCOMMANDS: help Print this message or the help of the given subcommand(s) subcmd tests subcommands "; static SC_NEGATES_REQS: &str = "prog 1.0 USAGE: prog --opt [PATH] prog [PATH] ARGS: help OPTIONS: -h, --help Print help information -o, --opt tests options -V, --version Print version information SUBCOMMANDS: help Print this message or the help of the given subcommand(s) test "; static ARGS_NEGATE_SC: &str = "prog 1.0 USAGE: prog [OPTIONS] [PATH] prog ARGS: help OPTIONS: -f, --flag testing flags -h, --help Print help information -o, --opt tests options -V, --version Print version information SUBCOMMANDS: help Print this message or the help of the given subcommand(s) test "; static AFTER_HELP: &str = "some text that comes before the help clap-test v1.4.8 tests clap library USAGE: clap-test OPTIONS: -h, --help Print help information -V, --version Print version information some text that comes after the help "; static AFTER_LONG_HELP: &str = "some longer text that comes before the help clap-test v1.4.8 tests clap library USAGE: clap-test OPTIONS: -h, --help Print help information -V, --version Print version information some longer text that comes after the help "; static HIDDEN_ARGS: &str = "prog 1.0 USAGE: prog [OPTIONS] OPTIONS: -f, --flag testing flags -h, --help Print help information -o, --opt tests options -V, --version Print version information "; static SC_HELP: &str = "clap-test-subcmd 0.1 Kevin K. tests subcommands USAGE: clap-test subcmd [OPTIONS] [--] [scpositional] ARGS: tests positionals OPTIONS: -f, --flag tests flags -h, --help Print help information -o, --option ... tests options -s, --subcmdarg tests other args -V, --version Print version information "; static ISSUE_1046_HIDDEN_SCS: &str = "prog 1.0 USAGE: prog [OPTIONS] [PATH] ARGS: some OPTIONS: -f, --flag testing flags -h, --help Print help information -o, --opt tests options -V, --version Print version information "; // Using number_of_values(1) with multiple_values(true) misaligns help message static ISSUE_760: &str = "ctest 0.1 USAGE: ctest [OPTIONS] OPTIONS: -h, --help Print help information -o, --option