aboutsummaryrefslogtreecommitdiff
path: root/src/cli.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-03-29 22:58:47 +0000
committerFuwn <[email protected]>2021-03-29 22:58:47 +0000
commitfe24e4bdb62245cce9aadefb200db1a3a342c1d1 (patch)
tree1a49f750155dbf36f9854938a13e988b7ecf0dbd /src/cli.rs
parentformat: Refactor CLI, use pure `clap` instead of StructOpt (diff)
downloadwhirl-fe24e4bdb62245cce9aadefb200db1a3a342c1d1.tar.xz
whirl-fe24e4bdb62245cce9aadefb200db1a3a342c1d1.zip
format: Fix a few Clippy warnings
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 08ce080..ad5af70 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -1,5 +1,4 @@
-use structopt::StructOpt;
-use structopt::clap::{Shell, App, AppSettings, SubCommand, Arg};
+use structopt::clap::{App, AppSettings, SubCommand, Arg};
pub fn cli<'b, 'a>() -> App<'a, 'b> {
App::new(env!("CARGO_PKG_NAME"))