From efa60bf4ab6b054cfbefc05db156cf40fd8e02c0 Mon Sep 17 00:00:00 2001 From: Keagan McClelland Date: Fri, 26 Feb 2021 17:50:29 -0700 Subject: [PATCH] fixes clap shit --- appmgr/src/main.rs | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/appmgr/src/main.rs b/appmgr/src/main.rs index 3c30c85b1..68125a719 100644 --- a/appmgr/src/main.rs +++ b/appmgr/src/main.rs @@ -168,12 +168,7 @@ async fn inner_main() -> Result<(), Error> { .about("Configures LAN services") .subcommand( SubCommand::with_name("enable") - .about("Publishes the LAN address for the service over avahi") - .arg( - Arg::with_name("ID") - .help("ID of the application to publish the LAN address for") - .required(true), - ), + .about("Publishes the LAN addresses for all services") ), ); @@ -463,14 +458,6 @@ async fn inner_main() -> Result<(), Error> { ) .subcommand(SubCommand::with_name("reload").about("Reloads the tor configuration")), ) - .subcommand( - SubCommand::with_name("lan") - .about("Configures LAN services") - .subcommand( - SubCommand::with_name("enable") - .about("Publishes the LAN address for all services over avahi"), - ), - ) .subcommand( SubCommand::with_name("info") .about("Prints information about an installed app")