docs(update): add docs for update command
This commit is contained in:
parent
f6d47e4b4d
commit
91b20693fd
1 changed files with 5 additions and 0 deletions
|
|
@ -76,16 +76,21 @@ enum Commands {
|
||||||
mods: Vec<String>,
|
mods: Vec<String>,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/// Update minecraft/mods/loader for project in current directory
|
||||||
Update {
|
Update {
|
||||||
|
/// Only update mods to latest version for current minecraft version
|
||||||
#[arg(long, conflicts_with_all = ["loader_only", "loader_version"])]
|
#[arg(long, conflicts_with_all = ["loader_only", "loader_version"])]
|
||||||
mods_only: bool,
|
mods_only: bool,
|
||||||
|
|
||||||
|
/// Only update mod loader to latest version
|
||||||
#[arg(long, conflicts_with_all = ["mods_only", "version"])]
|
#[arg(long, conflicts_with_all = ["mods_only", "version"])]
|
||||||
loader_only: bool,
|
loader_only: bool,
|
||||||
|
|
||||||
|
/// Specify mod loader version to update to
|
||||||
#[arg(long, conflicts_with = "mods_only")]
|
#[arg(long, conflicts_with = "mods_only")]
|
||||||
loader_version: Option<String>,
|
loader_version: Option<String>,
|
||||||
|
|
||||||
|
/// Specify minecraft version to update to
|
||||||
#[arg(long, conflicts_with = "loader_only")]
|
#[arg(long, conflicts_with = "loader_only")]
|
||||||
version: Option<String>,
|
version: Option<String>,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue