Skip to content

Commit 08db76c

Browse files
author
Marek Suchánek
committed
The custom CLI usage string is no longer necessary
1 parent dd3d3b7 commit 08db76c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/cmd_line.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,5 @@ const SOME_FILES: &str = "Specify at least one file to generate or validate.";
134134
/// Get command-line arguments as the `Cli` struct.
135135
#[must_use]
136136
pub fn get_args() -> Cli {
137-
let usage_prefix = "Usage: newdoc {usage}";
138-
cli().usage(usage_prefix).run()
137+
cli().run()
139138
}

0 commit comments

Comments
 (0)