You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/onefetch/cli.rs
+12-1
Original file line number
Diff line number
Diff line change
@@ -232,7 +232,6 @@ impl Cli {
232
232
.takes_value(true)
233
233
.max_values(1)
234
234
.multiple(false)
235
-
.default_value("auto")
236
235
.possible_values(&["auto","true","false"])
237
236
.help("Will hide the logo if true. If set to auto, the logo will be hidden if the terminal size is too small. If set to false, the logo will be shown no matter what.")
238
237
.conflicts_with("off")
@@ -295,6 +294,18 @@ impl Cli {
295
294
art_off = false;
296
295
}
297
296
}
297
+
}elseif !art_off {
298
+
// Default to auto without setting it in the CLI args
0 commit comments