|
|
|
@ -48,14 +48,6 @@ fn app() -> Command<'static> {
@@ -48,14 +48,6 @@ fn app() -> Command<'static> {
|
|
|
|
|
.value_name("path") |
|
|
|
|
.help("Specify an url path prefix"), |
|
|
|
|
) |
|
|
|
|
.arg( |
|
|
|
|
Arg::new("auth-method") |
|
|
|
|
.long("auth-method") |
|
|
|
|
.help("Choose auth method") |
|
|
|
|
.possible_values(["basic", "digest"]) |
|
|
|
|
.default_value("digest") |
|
|
|
|
.value_name("value"), |
|
|
|
|
) |
|
|
|
|
.arg( |
|
|
|
|
Arg::new("auth") |
|
|
|
|
.short('a') |
|
|
|
@ -65,6 +57,14 @@ fn app() -> Command<'static> {
@@ -65,6 +57,14 @@ fn app() -> Command<'static> {
|
|
|
|
|
.multiple_occurrences(true) |
|
|
|
|
.value_name("rule"), |
|
|
|
|
) |
|
|
|
|
.arg( |
|
|
|
|
Arg::new("auth-method") |
|
|
|
|
.long("auth-method") |
|
|
|
|
.help("Select auth method") |
|
|
|
|
.possible_values(["basic", "digest"]) |
|
|
|
|
.default_value("digest") |
|
|
|
|
.value_name("value"), |
|
|
|
|
) |
|
|
|
|
.arg( |
|
|
|
|
Arg::new("allow-all") |
|
|
|
|
.short('A') |
|
|
|
|