aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.rs18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index f42647a..91d1c9c 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -30,33 +30,47 @@ fn main() -> Result<()> {
.long("world")
.short("c")
.required(false)
+ .help("Select the world that we should operate on")
.takes_value(true),
)
.subcommand(
SubCommand::with_name("enable")
.about("Enables a mod and its dependencies")
- .arg(Arg::with_name("mod").multiple(true).required(true)),
+ .arg(
+ Arg::with_name("mod")
+ .multiple(true)
+ .required(true)
+ .help("The mod to enable"),
+ ),
)
.subcommand(
SubCommand::with_name("install")
.about("Installs a mod and its dependencies")
- .arg(Arg::with_name("mod").multiple(true).required(true))
+ .arg(
+ Arg::with_name("mod")
+ .multiple(true)
+ .required(true)
+ .help("The mod to install"),
+ )
.arg(
Arg::with_name("target")
.short("t")
.long("target-dir")
+ .help("The mod target directory")
.default_value("."),
)
.arg(
Arg::with_name("dry-run")
.short("n")
.long("dry-run")
+ .help("Only resolve dependencies, don't actually install any mods")
.required(false),
)
.arg(
Arg::with_name("fix-permissions")
.short("p")
.long("fix-permissions")
+ .help("Change the owner of the installed mod to match target-dir's")
.required(false),
),
)