fixes clap shit

This commit is contained in:
Keagan McClelland
2021-02-26 17:50:29 -07:00
committed by Aiden McClelland
parent 1c2fd192df
commit efa60bf4ab

View File

@@ -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")