Skip to content

Commit 26681e4

Browse files
committed
Add options for quiet and verbose, currently inactive
1 parent 5f62128 commit 26681e4

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/cmd_line.rs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,20 @@ pub fn get_args() -> ArgMatches<'static> {
104104
.value_name("directory")
105105
.help("Save the generated files in this directory"),
106106
)
107+
.arg(
108+
Arg::with_name("verbose")
109+
.short("v")
110+
.long("verbose")
111+
.help("Display additional, debug messages")
112+
.conflicts_with("quiet"),
113+
)
114+
.arg(
115+
Arg::with_name("quiet")
116+
.short("q")
117+
.long("quiet")
118+
.help("Hide info-level messages. Display only warnings and errors")
119+
.conflicts_with("verbose"),
120+
)
107121
.get_matches();
108122

109123
if matches.is_present("detect-directory") {

0 commit comments

Comments
 (0)