mirror of
https://github.com/clap-rs/clap
synced 2025-01-18 23:53:54 +00:00
Use 'Clap Maintainers' as authors
This commit is contained in:
parent
ae2e00f418
commit
970d7140a3
8 changed files with 17 additions and 13 deletions
|
@ -2,7 +2,10 @@
|
|||
name = "clap"
|
||||
version = "3.0.0-beta.1"
|
||||
edition = "2018"
|
||||
authors = ["Kevin K. <kbknapp@gmail.com>"]
|
||||
authors = [
|
||||
"Kevin K. <kbknapp@gmail.com>",
|
||||
"Clap Maintainers"
|
||||
]
|
||||
include = [
|
||||
"src/**/*",
|
||||
"Cargo.toml",
|
||||
|
|
|
@ -4,8 +4,7 @@ version = "3.0.0-beta.1"
|
|||
edition = "2018"
|
||||
authors = [
|
||||
"Guillaume Pinot <texitoi@texitoi.eu>",
|
||||
"Kevin K. <kbknapp@gmail.com>",
|
||||
"hoverbear <andrew@hoverbear.org>"
|
||||
"Clap Maintainers"
|
||||
]
|
||||
include = [
|
||||
"src/**/*",
|
||||
|
@ -44,7 +43,7 @@ proc-macro-error = "0.4.3"
|
|||
|
||||
[dev-dependencies]
|
||||
clap = { path = "../", version = "3.0.0-beta.1" }
|
||||
trybuild = "1.0.5"
|
||||
trybuild = "1.0"
|
||||
rustversion = "1"
|
||||
version-sync = "0.8"
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ fn use_env() {
|
|||
|
||||
let output = get_long_help::<Opt>();
|
||||
assert!(output.starts_with("clap_derive"));
|
||||
assert!(output.contains("Guillaume Pinot <texitoi@texitoi.eu>, Kevin K. <kbknapp@gmail.com>"));
|
||||
assert!(output.contains("Guillaume Pinot <texitoi@texitoi.eu>, Clap Maintainers"));
|
||||
assert!(output.contains("Parse command line argument by defining a struct, derive crate"));
|
||||
}
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ version = "3.0.0-beta.1"
|
|||
edition = "2018"
|
||||
authors = [
|
||||
"Kevin K. <kbknapp@gmail.com>",
|
||||
"Pavan Kumar Sunkara <pavan.sss1991@gmail.com>",
|
||||
"Clap Maintainers"
|
||||
]
|
||||
include = [
|
||||
"src/**/*",
|
||||
|
|
|
@ -4,7 +4,7 @@ mod shells;
|
|||
use std::io::Write;
|
||||
|
||||
// Internal
|
||||
use clap::*;
|
||||
use clap::{find_subcmd, flags, match_alias, subcommands, App, AppSettings, Arg};
|
||||
pub use shells::*;
|
||||
|
||||
/// Generator trait which can be used to write generators
|
||||
|
@ -265,7 +265,7 @@ mod tests {
|
|||
#[test]
|
||||
fn test_find_subcommand_with_path() {
|
||||
let app = common();
|
||||
let sc_app = Foo::find_subcommand_with_path(&app, "test config".split(" ").collect());
|
||||
let sc_app = Foo::find_subcommand_with_path(&app, "test config".split(' ').collect());
|
||||
|
||||
assert_eq!(sc_app.name, "config");
|
||||
}
|
||||
|
|
|
@ -107,9 +107,11 @@ pub use generators::Generator;
|
|||
/// };
|
||||
///
|
||||
/// let mut app = build_cli();
|
||||
/// generate_to::<Bash, _>(&mut app, // We need to specify what generator to use
|
||||
/// "myapp", // We need to specify the bin name manually
|
||||
/// outdir); // We need to specify where to write to
|
||||
/// generate_to::<Bash, _, _>(
|
||||
/// &mut app, // We need to specify what generator to use
|
||||
/// "myapp", // We need to specify the bin name manually
|
||||
/// outdir, // We need to specify where to write to
|
||||
/// );
|
||||
/// }
|
||||
/// ```
|
||||
///
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
use clap::{app_from_crate, ErrorKind};
|
||||
|
||||
static EVERYTHING: &str = "clap {{version}}
|
||||
Kevin K. <kbknapp@gmail.com>
|
||||
Kevin K. <kbknapp@gmail.com>:Clap Maintainers
|
||||
A simple to use, efficient, and full-featured Command Line Argument Parser
|
||||
|
||||
USAGE:
|
||||
|
|
|
@ -12,7 +12,7 @@ FLAGS:
|
|||
";
|
||||
|
||||
static AUTHORS_ONLY: &str = "prog 1
|
||||
Kevin K. <kbknapp@gmail.com>
|
||||
Kevin K. <kbknapp@gmail.com>:Clap Maintainers
|
||||
|
||||
USAGE:
|
||||
prog
|
||||
|
|
Loading…
Reference in a new issue