Add —host command-line option as an alias of —conn
This commit is contained in:
parent
863830cf3f
commit
0043e38bef
1 changed files with 2 additions and 0 deletions
|
@ -306,6 +306,7 @@ pub fn init() {
|
|||
Arg::new("conn")
|
||||
.short('c')
|
||||
.long("conn")
|
||||
.alias("host")
|
||||
.forbid_empty_values(true)
|
||||
.validator(conn_valid)
|
||||
.default_value("https://cloud.surrealdb.com")
|
||||
|
@ -360,6 +361,7 @@ pub fn init() {
|
|||
Arg::new("conn")
|
||||
.short('c')
|
||||
.long("conn")
|
||||
.alias("host")
|
||||
.forbid_empty_values(true)
|
||||
.validator(conn_valid)
|
||||
.default_value("https://cloud.surrealdb.com")
|
||||
|
|
Loading…
Reference in a new issue