From df98a3444cfac3161ed24261c13e4854156b99fe Mon Sep 17 00:00:00 2001 From: j03-dev <24nomeniavo@gmail.com> Date: Wed, 18 Oct 2023 00:18:44 +0300 Subject: [PATCH] add -- on option --- src/cli.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli.rs b/src/cli.rs index 99ac515..523840d 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -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() } }