summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2020-02-05 11:18:20 +0100
committerCanop <cano.petrole@gmail.com>2020-02-05 11:18:20 +0100
commit0c69639457ec33e510c74df80799455d6b69d181 (patch)
tree375a90b012c1ab4440f148cdd53220abd3c25aec /src/cli.rs
parentb9d0d8ac2bc4b42903406bfa3a9e7183f12d4ab4 (diff)
several small flags related improvements
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cli.rs b/src/cli.rs
index c1e9be0..a1ce77d 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -176,8 +176,8 @@ pub fn run() -> Result<Option<Launchable>, ProgramError> {
verb_store.init(&config);
// reading the other arguments
- let file_export_path = cli_matches.value_of("file_export_path").map(str::to_string);
- let cmd_export_path = cli_matches.value_of("cmd_export_path").map(str::to_string);
+ let file_export_path = cli_matches.value_of("file-export-path").map(str::to_string);
+ let cmd_export_path = cli_matches.value_of("cmd-export-path").map(str::to_string);
let commands = cli_matches.value_of("commands").map(str::to_string);
let no_style = cli_matches.is_present("no-style");
let height = cli_matches.value_of("height").and_then(|s| s.parse().ok());