Skip to content

Commit

Permalink
add -- on option
Browse files Browse the repository at this point in the history
  • Loading branch information
j03-dev committed Oct 17, 2023
1 parent c06fbbd commit df98a34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ pub async fn command() {
if let Some(args) = args_parser() {
let option = args.get_option();
match option.as_str() {
"runserver" => run_server().await,
"migrate" => migrate().await,
"--runserver" => run_server().await,
"--migrate" => migrate().await,
_ => help()
}
}
Expand Down

0 comments on commit df98a34

Please sign in to comment.