Browse Source

Fix order of arguments in action adding

Samuel W. Flint 3 years ago
parent
commit
4eebc723e2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main.rs

+ 1 - 1
src/main.rs

@@ -82,7 +82,7 @@ fn main() {
                         Some(string) => string.to_string(),
                         _ => String::from("")
                     };
-                    action::add(&mut configuration, &name, &command, &description);
+                    action::add(&mut configuration, &name, &description, &command);
                 },
                 Some("config") => if let Some(matches) = matches.subcommand_matches("config") {
                     let name = matches.value_of("name").unwrap().to_string();