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
eprintln!("JSON output is an unstable feature and its format may change in future. To enable JSON output, set the environment variable DFT_UNSTABLE=yes.");
568
-
std::process::exit(EXIT_BAD_ARGUMENTS);
569
-
}
570
-
571
-
DisplayMode::Json
572
-
}
573
-
_ => {
574
-
unreachable!("clap has already validated display")
559
+
let display_mode = match matches.value_of("display").expect("display has a default"){
eprintln!("JSON output is an unstable feature and its format may change in future. To enable JSON output, set the environment variable DFT_UNSTABLE=yes.");
566
+
std::process::exit(EXIT_BAD_ARGUMENTS);
575
567
}
568
+
569
+
DisplayMode::Json
570
+
}
571
+
_ => {
572
+
unreachable!("clap has already validated display")
0 commit comments