diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2021-08-30 03:44:29 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-30 03:44:29 +0000 |
commit | ba1b9f5cc7adbc3b22786789cb2df50983edb2c2 (patch) | |
tree | 7c25bd00939b8d780cf9e5d7848aa1f97bf74d67 /tests/cli.rs | |
parent | Merge pull request #586 from svenstaro/fix-warnings (diff) | |
parent | Add clap v3 switch to CHANGELOG (diff) | |
download | miniserve-ba1b9f5cc7adbc3b22786789cb2df50983edb2c2.tar.gz miniserve-ba1b9f5cc7adbc3b22786789cb2df50983edb2c2.zip |
Merge pull request #587 from svenstaro/switch-structopt-to-clap
Switch from structopt to clap v3
Diffstat (limited to 'tests/cli.rs')
-rw-r--r-- | tests/cli.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/cli.rs b/tests/cli.rs index f88b284..8c88c93 100644 --- a/tests/cli.rs +++ b/tests/cli.rs @@ -1,9 +1,10 @@ mod fixtures; use assert_cmd::prelude::*; +use clap::{crate_name, crate_version}; +use clap_generate::Shell; use fixtures::Error; use std::process::Command; -use structopt::clap::{crate_name, crate_version, Shell}; #[test] /// Show help and exit. |