From 91b20693fd6bf009c6a184abd55888a30a103339 Mon Sep 17 00:00:00 2001 From: RafayAhmad7548 Date: Thu, 3 Sep 2026 17:11:28 +0500 Subject: [PATCH] docs(update): add docs for update command --- src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.rs b/src/main.rs index 189cebc..9d51201 100644 --- a/src/main.rs +++ b/src/main.rs @@ -76,16 +76,21 @@ enum Commands { mods: Vec, }, + /// Update minecraft/mods/loader for project in current directory Update { + /// Only update mods to latest version for current minecraft version #[arg(long, conflicts_with_all = ["loader_only", "loader_version"])] mods_only: bool, + /// Only update mod loader to latest version #[arg(long, conflicts_with_all = ["mods_only", "version"])] loader_only: bool, + /// Specify mod loader version to update to #[arg(long, conflicts_with = "mods_only")] loader_version: Option, + /// Specify minecraft version to update to #[arg(long, conflicts_with = "loader_only")] version: Option, },