Skip to content

Commit

Permalink
Add commandline option to force text output
Browse files Browse the repository at this point in the history
  • Loading branch information
mtth-bfft committed May 26, 2022
1 parent 8c68717 commit 1e3317f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion adeleg/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,12 @@ fn main() {
.long("index")
.takes_value(true)
.default_value("resources")
.possible_values(&["resources", "trustees"])
.possible_values(&["resources", "trustees"])
).arg(
Arg::new("text")
.help("Output as text (default is GUI if there is no commandline argument")
.long("text")
.takes_value(false)
).arg(
Arg::new("csv")
.help("Write output into a CSV file")
Expand Down

0 comments on commit 1e3317f

Please sign in to comment.