Merge pull request #567 from matthiasbeyer/bin/imag-seperator-remove

Remove dash from command listing
This commit is contained in:
Matthias Beyer 2016-07-26 13:18:32 +02:00 committed by GitHub
commit 67d536fa74

View file

@ -80,7 +80,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()
}) })