docs: updated for multiple installs

This commit is contained in:
v4n
2025-01-17 17:40:36 +02:00
parent 83260e9961
commit f763d96797
2 changed files with 6 additions and 4 deletions
+3 -2
View File
@@ -7,7 +7,7 @@ Helldivers 2 Mod Manager CLI is a command line interface for managing Helldivers
- [Usage](#usage) - [Usage](#usage)
- [Available commands](#available-commands) - [Available commands](#available-commands)
- [Basic usage](#basic-usage) - [Basic usage](#basic-usage)
- [Install a mod](#install-a-mod) - [Install mod(s)](#install-mods)
- [Uninstall a mod](#uninstall-a-mod) - [Uninstall a mod](#uninstall-a-mod)
- [Enable/disable mods](#enabledisable-mods) - [Enable/disable mods](#enabledisable-mods)
- [List installed mods](#list-installed-mods) - [List installed mods](#list-installed-mods)
@@ -52,11 +52,12 @@ h2mm
### Basic usage ### Basic usage
#### Install a mod #### Install mod(s)
```bash ```bash
h2mm install /path/to/mod.zip h2mm install /path/to/mod.zip
h2mm install /path/to/mod/files h2mm install /path/to/mod/files
h2mm install /path/to/mod.zip /path/to/mod2.zip /path/to/mod/files
h2mm install -n "Example mod" mod.patch_0 mod.patch_0.stream # -n is mandatory when using files h2mm install -n "Example mod" mod.patch_0 mod.patch_0.stream # -n is mandatory when using files
h2mm install -n "Example mod" mod* # using a wildcard to include all files h2mm install -n "Example mod" mod* # using a wildcard to include all files
``` ```
+3 -2
View File
@@ -136,11 +136,12 @@ function display_install_help() {
echo "Options:" echo "Options:"
echo " -n \"<mod_name>\" Name the mod yourself, inside double quotes." echo " -n \"<mod_name>\" Name the mod yourself, inside double quotes."
echo " <mod_files> Multiple mod files, accepts wildcards." echo " <mod_files> Multiple mod files, accepts wildcards."
echo " <mod_dir> Directory containing mod files." echo " <mod_dirs> Directory/directories containing mod files."
echo " <mod_zip> Zip file containing mod files." echo " <mod_zips> Zip file(s) containing mod files."
echo "Usage:" echo "Usage:"
echo " h2mm install /path/to/mod.zip" echo " h2mm install /path/to/mod.zip"
echo " h2mm install /path/to/mod/files" echo " h2mm install /path/to/mod/files"
echo " h2mm install /path/to/mod.zip /path/to/mod2.zip /path/to/mod/files"
echo " h2mm install -n \"Example mod\" mod.patch_0 mod.patch_0.stream # -n is mandatory when using files" echo " h2mm install -n \"Example mod\" mod.patch_0 mod.patch_0.stream # -n is mandatory when using files"
echo " h2mm install -n \"Example mod\" mod* # using a wildcard to include all files" echo " h2mm install -n \"Example mod\" mod* # using a wildcard to include all files"
echo "If the mod has more than 1 variant, you need to install the one you want by unarchiving it separately." echo "If the mod has more than 1 variant, you need to install the one you want by unarchiving it separately."