mirror of
https://github.com/pimalaya/himalaya.git
synced 2026-06-17 13:17:55 +08:00
merge app with main
This commit is contained in:
+3
-3
@@ -1,11 +1,11 @@
|
||||
use clap::Arg;
|
||||
|
||||
pub fn output_args<'a>() -> Vec<Arg<'a, 'a>> {
|
||||
vec![Arg::with_name("output")
|
||||
pub fn output_arg<'a>() -> Arg<'a, 'a> {
|
||||
Arg::with_name("output")
|
||||
.long("output")
|
||||
.short("o")
|
||||
.help("Defines the output format")
|
||||
.value_name("STRING")
|
||||
.possible_values(&["plain", "json"])
|
||||
.default_value("plain")]
|
||||
.default_value("plain")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user