diff options
author | Stephan D <776816+extrawurst@users.noreply.github.com> | 2022-08-17 16:30:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-17 16:30:54 +0200 |
commit | 4a0e58ae15d3a97903d3d4cc4265a1931e3d11ef (patch) | |
tree | 40fdf23e5df9a5764c83ce15c9c4b83b357daa2d /src/args.rs | |
parent | 70e6a3db6ef489c129f81c5229bb3edce4f63e69 (diff) |
msrv 160 (#1279)
* bump edition
* msrv 160
* upgrade clap and more deps
Diffstat (limited to 'src/args.rs')
-rw-r--r-- | src/args.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/args.rs b/src/args.rs index cf5587ee..37131cf9 100644 --- a/src/args.rs +++ b/src/args.rs @@ -25,7 +25,7 @@ pub fn process_cmdline() -> Result<CliArgs> { .arg( Arg::with_name("theme") .help("Set the color theme (defaults to theme.ron)") - .short("t") + .short('t') .long("theme") .value_name("THEME") .takes_value(true), @@ -33,7 +33,7 @@ pub fn process_cmdline() -> Result<CliArgs> { .arg( Arg::with_name("logging") .help("Stores logging output into a cache directory") - .short("l") + .short('l') .long("logging"), ) .arg( @@ -44,7 +44,7 @@ pub fn process_cmdline() -> Result<CliArgs> { .arg( Arg::with_name("directory") .help("Set the git directory") - .short("d") + .short('d') .long("directory") .env("GIT_DIR") .takes_value(true), @@ -52,7 +52,7 @@ pub fn process_cmdline() -> Result<CliArgs> { .arg( Arg::with_name("workdir") .help("Set the working directory") - .short("w") + .short('w') .long("workdir") .env("GIT_WORK_TREE") .takes_value(true), |