diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vtcol.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vtcol.rs b/src/vtcol.rs index 5f9cc17..3b8f59a 100644 --- a/src/vtcol.rs +++ b/src/vtcol.rs @@ -276,7 +276,7 @@ impl<'a> Job .help("name of the scheme") .required(true) .value_name("NAME") - .index(1), + .takes_value(true) ), ) .subcommand( @@ -336,7 +336,7 @@ impl<'a> Job match matches.subcommand() { ("dump", Some(subm)) => { - if let Some(name) = subm.value_of("name") { + if let Some(name) = subm.value_of("scheme") { let scm = Scheme::from(name); return Ok(Self::Dump(scm)); } |