Skip to content

Commit e9718fd

Browse files
fix: Make completion field public and remove unused import
1 parent 6b3adb3 commit e9718fd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ use std::fmt;
66
use std::fmt::Display;
77

88
use clap::Parser;
9-
use clap::ValueEnum;
109
use clap_complete::Shell;
1110
use speedtest::PayloadSize;
1211

@@ -85,7 +84,7 @@ pub struct SpeedTestCLIOptions {
8584

8685
/// Generate shell completion script for the specified shell
8786
#[arg(long = "generate-completion", value_enum)]
88-
completion: Option<Shell>,
87+
pub completion: Option<Shell>,
8988
}
9089

9190
impl SpeedTestCLIOptions {

0 commit comments

Comments
 (0)