mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
build: bump shadow to 0.10.0 & git2 to 0.14.2 (#3767)
This commit is contained in:
+1
-6
@@ -13,16 +13,11 @@ use starship::context::{Properties, Target};
|
||||
use starship::module::ALL_MODULES;
|
||||
use starship::*;
|
||||
|
||||
fn long_version() -> &'static str {
|
||||
let ver = Box::new(crate::shadow::clap_long_version());
|
||||
Box::leak(ver).as_str()
|
||||
}
|
||||
|
||||
#[derive(Parser, Debug)]
|
||||
#[clap(
|
||||
author=crate_authors!(),
|
||||
version=shadow::PKG_VERSION,
|
||||
long_version=long_version(),
|
||||
long_version=shadow::CLAP_LONG_VERSION,
|
||||
about="The cross-shell prompt for astronauts. ☄🌌️",
|
||||
subcommand_required=true,
|
||||
arg_required_else_help=true,
|
||||
|
||||
Reference in New Issue
Block a user