mirror of
https://github.com/clap-rs/clap
synced 2024-09-21 06:41:54 +00:00
remove old copy paste test code
This commit is contained in:
parent
af28b2ace2
commit
6c014f31b3
1 changed files with 0 additions and 48 deletions
|
@ -1,54 +1,6 @@
|
|||
extern crate clap;
|
||||
extern crate regex;
|
||||
|
||||
|
||||
|
||||
static VISIBLE_ALIAS_HELP: &'static str = "clap-test 2.6
|
||||
|
||||
USAGE:
|
||||
clap-test [SUBCOMMAND]
|
||||
|
||||
FLAGS:
|
||||
-h, --help Prints help information
|
||||
-V, --version Prints version information
|
||||
|
||||
SUBCOMMANDS:
|
||||
help Prints this message or the help of the given subcommand(s)
|
||||
test Some help [aliases: dongle, done]";
|
||||
|
||||
static INVISIBLE_ALIAS_HELP: &'static str = "clap-test 2.6
|
||||
|
||||
USAGE:
|
||||
clap-test [SUBCOMMAND]
|
||||
|
||||
FLAGS:
|
||||
-h, --help Prints help information
|
||||
-V, --version Prints version information
|
||||
|
||||
SUBCOMMANDS:
|
||||
help Prints this message or the help of the given subcommand(s)
|
||||
test Some help";
|
||||
|
||||
#[cfg(feature = "suggestions")]
|
||||
static DYM: &'static str = "error: The subcommand 'subcm' wasn't recognized
|
||||
\tDid you mean 'subcmd'?
|
||||
|
||||
If you believe you received this message in error, try re-running with 'clap-test -- subcm'
|
||||
|
||||
USAGE:
|
||||
clap-test [FLAGS] [OPTIONS] [ARGS] [SUBCOMMAND]
|
||||
|
||||
For more information try --help";
|
||||
|
||||
#[cfg(feature = "suggestions")]
|
||||
static DYM2: &'static str = "error: Found argument '--subcm' which wasn't expected, or isn't valid in this context
|
||||
\tDid you mean to put '--subcmdarg' after the subcommand 'subcmd'?
|
||||
|
||||
USAGE:
|
||||
clap-test [FLAGS] [OPTIONS] [ARGS] [SUBCOMMAND]
|
||||
|
||||
For more information try --help";
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
include!("../clap-test.rs");
|
||||
|
|
Loading…
Reference in a new issue