fix CLI subcommand info

This commit is contained in:
LordMZTE 2021-09-01 16:27:43 +02:00
parent 4fe35b4b60
commit 3321ae370e

View file

@ -15,7 +15,7 @@ struct Opt {
#[derive(StructOpt)]
enum Command {
#[structopt(help = "Initializes a new modpack")]
#[structopt(about = "Initializes a new modpack")]
Init {
#[structopt(help = "The name of the modpack")]
modpack_name: String,
@ -25,7 +25,7 @@ enum Command {
mcversion: String,
},
#[structopt(name = "downloadmods", help = "Downloads mods of the pack")]
#[structopt(name = "downloadmods", about = "Downloads mods of the pack")]
DownloadMods {
#[structopt(help = "Directory to download mods to")]
dir: PathBuf,
@ -33,7 +33,7 @@ enum Command {
all: bool,
},
#[structopt(name = "buildtwitch", help = "Builds a twitch export of the pack")]
#[structopt(name = "buildtwitch", about = "Builds a twitch export of the pack")]
BuildTwitch {
#[structopt(
short,
@ -43,7 +43,7 @@ enum Command {
all: bool,
},
#[structopt(help = "Deletes artifacts and temporary files")]
#[structopt(about = "Deletes artifacts and temporary files")]
Clean,
}