aboutsummaryrefslogtreecommitdiffstats
path: root/src/args.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/args.rs')
-rw-r--r--src/args.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/args.rs b/src/args.rs
index 88ad8fc..b733769 100644
--- a/src/args.rs
+++ b/src/args.rs
@@ -60,8 +60,12 @@ pub struct CliArgs {
)]
pub auth: Vec<auth::RequiredAuth>,
+ /// Use a specific route prefix
+ #[clap(long = "route-prefix")]
+ pub route_prefix: Option<String>,
+
/// Generate a random 6-hexdigit route
- #[clap(long = "random-route")]
+ #[clap(long = "random-route", conflicts_with("route-prefix"))]
pub random_route: bool,
/// Do not follow symbolic links