Remove dash from command listing
With this patch, we list "imag counter" instead of "imag-counter" in the help output.
This commit is contained in:
parent
ce766427da
commit
c453647813
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ fn get_commands() -> Vec<String> {
|
||||||
.filter_map(|path| {
|
.filter_map(|path| {
|
||||||
path.file_name()
|
path.file_name()
|
||||||
.to_str()
|
.to_str()
|
||||||
.map(String::from)
|
.and_then(|s| s.splitn(2, "-").nth(1).map(|s| format!("imag {}", s)))
|
||||||
})
|
})
|
||||||
.collect()
|
.collect()
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue