This commit is contained in:
Chris Tsang 2021-08-08 03:11:37 +08:00
parent aea0d19117
commit 1b47f896a7

View File

@ -10,7 +10,7 @@ pub fn build_cli() -> App<'static, 'static> {
.arg( .arg(
Arg::with_name("DATABASE_URL") Arg::with_name("DATABASE_URL")
.long("database-url") .long("database-url")
.short("url") .short("u")
.help("Database URL") .help("Database URL")
.takes_value(true) .takes_value(true)
.required(true) .required(true)
@ -19,7 +19,7 @@ pub fn build_cli() -> App<'static, 'static> {
.arg( .arg(
Arg::with_name("DATABASE_SCHEMA") Arg::with_name("DATABASE_SCHEMA")
.long("database-schema") .long("database-schema")
.short("schema") .short("s")
.help("Database schema") .help("Database schema")
.takes_value(true) .takes_value(true)
.required(true) .required(true)