diff options
author | Canop <cano.petrole@gmail.com> | 2021-08-12 16:46:10 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2021-08-12 16:46:10 +0200 |
commit | ee354f9a7a2684783456b10707462f71045b1c3e (patch) | |
tree | b9618e61403db32d331d98e7c88fd0f0d01181c0 /src/cli/mod.rs | |
parent | c9b840fd85e7eb6393dbb52f4ba3b35cf2f831e7 (diff) |
allow a verb in configuration to refer to a builtin
Fix #432
Diffstat (limited to 'src/cli/mod.rs')
-rw-r--r-- | src/cli/mod.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cli/mod.rs b/src/cli/mod.rs index 6f84164..6c72b1b 100644 --- a/src/cli/mod.rs +++ b/src/cli/mod.rs @@ -136,8 +136,7 @@ pub fn run() -> Result<Option<Launchable>, ProgramError> { tree_options.apply_launch_args(&cli_matches); // verb store is completed from the config file(s) - let mut verb_store = VerbStore::default(); - verb_store.init(&mut config)?; + let verb_store = VerbStore::new(&mut config)?; // reading the other arguments let file_export_path = cli_matches.value_of("file-export-path").map(str::to_string); |