add force arg long switch to CLI (#1362)
This commit is contained in:
parent
d734b1723c
commit
d4db249997
|
@ -30,6 +30,7 @@ pub fn build_cli() -> App<'static, 'static> {
|
||||||
.help("Name of the project. Will create a new directory with that name in the current directory"),
|
.help("Name of the project. Will create a new directory with that name in the current directory"),
|
||||||
Arg::with_name("force")
|
Arg::with_name("force")
|
||||||
.short("f")
|
.short("f")
|
||||||
|
.long("force")
|
||||||
.takes_value(false)
|
.takes_value(false)
|
||||||
.help("Force creation of project even if directory is non-empty")
|
.help("Force creation of project even if directory is non-empty")
|
||||||
]),
|
]),
|
||||||
|
|
Loading…
Reference in a new issue