aboutsummaryrefslogtreecommitdiff
path: root/src/cli.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-03-29 22:58:47 -0700
committerFuwn <[email protected]>2021-03-29 22:58:47 -0700
commitbeda30d9e2c1e33b9ba1dc84f44ee7c3eb43fd50 (patch)
tree2c5ce6ba59fec743febbafd77be0aa30cf4b95e6 /src/cli.rs
parentformat: Refactor CLI, use pure `clap` instead of StructOpt (diff)
downloadwhirl-beda30d9e2c1e33b9ba1dc84f44ee7c3eb43fd50.tar.xz
whirl-beda30d9e2c1e33b9ba1dc84f44ee7c3eb43fd50.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"))