diff options
author | David Knaack <davidkna@users.noreply.github.com> | 2022-03-20 02:01:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-19 21:01:57 -0400 |
commit | 8d3bffdb6cde925f5e54a74b4eae4ff7fc62b674 (patch) | |
tree | c61732eb57118d759c5cd70dc40bb7fff4607053 /src/main.rs | |
parent | 47838d143b20b066bc88799cbb38c39403087368 (diff) |
build: bump shadow to 0.10.0 & git2 to 0.14.2 (#3767)
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/main.rs b/src/main.rs index 2d7eeeb82..0490cd268 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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, |