소스 검색

Fix order of arguments in action adding

Samuel W. Flint 5 년 전
부모
커밋
4eebc723e2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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();