Skip to content

Commit 2979a77

Browse files
committed
remove never option for hide-logo flag
1 parent 51a7a4b commit 2979a77

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Diff for: src/onefetch/cli.rs

+3-4
Original file line numberDiff line numberDiff line change
@@ -225,12 +225,12 @@ impl Cli {
225225
.long("hide-logo")
226226
.value_name("WHEN")
227227
.takes_value(true)
228-
.possible_values(&["auto", "never", "always"])
228+
.possible_values(&["auto", "always"])
229229
.default_value("always")
230230
.hide_default_value(true)
231-
.help("Specify when to hide the logo (auto, never, *always*).")
231+
.help("Specify when to hide the logo (auto, *always*).")
232232
.long_help(
233-
"Specify when to hide the logo (auto, never, *always*). \n\
233+
"Specify when to hide the logo (auto, *always*). \n\
234234
If set to auto, the logo will be hidden if the terminal's width < 95."
235235
)
236236
).get_matches();
@@ -251,7 +251,6 @@ impl Cli {
251251

252252
let art_off = match matches.value_of("hide-logo") {
253253
Some("always") => true,
254-
Some("never") => false,
255254
Some("auto") => {
256255
if let Some((width, _)) = term_size::dimensions_stdout() {
257256
width < MAX_TERM_WIDTH

0 commit comments

Comments
 (0)