Skip to content

Commit

Permalink
Allow leading hyphens in parameter values.
Browse files Browse the repository at this point in the history
Fixes #8.
  • Loading branch information
jimmycuadra committed Aug 10, 2016
1 parent 0a39ad6 commit 651a3cc
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ fn real_main() -> Result<(), String> {
.version(env!("CARGO_PKG_VERSION"))
.about("Produces a Kubernetes manifest from a parameterized template")
.setting(AppSettings::ArgRequiredElseHelp)
.setting(AppSettings::AllowLeadingHyphen)
.arg(
Arg::with_name("template")
.help("Path to the template file to be processed")
Expand Down

0 comments on commit 651a3cc

Please sign in to comment.