Use 'Clap Maintainers' as authors

This commit is contained in:
Pavan Kumar Sunkara 2020-02-10 19:26:10 +01:00
parent ae2e00f418
commit 970d7140a3
8 changed files with 17 additions and 13 deletions

View file

@ -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",

View file

@ -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"

View file

@ -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"));
}

View file

@ -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/**/*",

View file

@ -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");
}

View file

@ -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
/// );
/// }
/// ```
///

View file

@ -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:

View file

@ -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