|
|
@ -16,7 +16,7 @@ fn main() {
|
|
|
|
.version(crate_version!())
|
|
|
|
.version(crate_version!())
|
|
|
|
.author(crate_authors!())
|
|
|
|
.author(crate_authors!())
|
|
|
|
.about(crate_description!())
|
|
|
|
.about(crate_description!())
|
|
|
|
.long_about(None)
|
|
|
|
.long_about("")
|
|
|
|
.arg(
|
|
|
|
.arg(
|
|
|
|
Arg::new("branch")
|
|
|
|
Arg::new("branch")
|
|
|
|
.help("The branch to view git repository on")
|
|
|
|
.help("The branch to view git repository on")
|
|
|
@ -61,7 +61,7 @@ fn main() {
|
|
|
|
matches.is_present("print"),
|
|
|
|
matches.is_present("print"),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
if let Err(err) = git_view.open_upstream_repository() {
|
|
|
|
if let Err(app_error) = git_view.open_upstream_repository() {
|
|
|
|
clap_panic!(err);
|
|
|
|
clap_panic!(app_error.print());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|