rename github_repository to git_repository · rust-lang/rust@580fa0c (original) (raw)

Original file line number Diff line number Diff line change
@@ -145,7 +145,7 @@ pub fn parse_config(args: Vec) -> Config {
145 145 .reqopt("", "channel", "current Rust channel", "CHANNEL")
146 146 .optflag("", "git-hash", "run tests which rely on commit version being compiled into the binaries")
147 147 .optopt("", "edition", "default Rust edition", "EDITION")
148 -.reqopt("", "github-repository", "name of the GitHub repository", "ORG/REPO")
148 +.reqopt("", "git-repository", "name of the git repository", "ORG/REPO")
149 149 .reqopt("", "nightly-branch", "name of the git branch for nightly", "BRANCH");
150 150
151 151 let (argv0, args_) = args.split_first().unwrap();
@@ -310,7 +310,7 @@ pub fn parse_config(args: Vec) -> Config {
310 310
311 311 nocapture: matches.opt_present("nocapture"),
312 312
313 -github_repository: matches.opt_str("github-repository").unwrap(),
313 +git_repository: matches.opt_str("git-repository").unwrap(),
314 314 nightly_branch: matches.opt_str("nightly-branch").unwrap(),
315 315 }
316 316 }