mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
build: bump clap crates to v3.2 (#4067)
This commit is contained in:
+2
-2
@@ -606,7 +606,7 @@ pub struct Properties {
|
||||
#[clap(long, value_delimiter = ' ')]
|
||||
pub pipestatus: Option<Vec<String>>,
|
||||
/// The width of the current interactive terminal.
|
||||
#[clap(short = 'w', long, default_value_t=default_width(), parse(try_from_str=parse_width))]
|
||||
#[clap(short = 'w', long, default_value_t=default_width(), value_parser=parse_width)]
|
||||
terminal_width: usize,
|
||||
/// The path that the prompt should render for.
|
||||
#[clap(short, long)]
|
||||
@@ -622,7 +622,7 @@ pub struct Properties {
|
||||
#[clap(short = 'k', long, default_value = "viins")]
|
||||
pub keymap: String,
|
||||
/// The number of currently running jobs
|
||||
#[clap(short, long, default_value_t, parse(try_from_str=parse_jobs))]
|
||||
#[clap(short, long, default_value_t, value_parser=parse_jobs)]
|
||||
pub jobs: i64,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user