[CLI] Fix help for owmods setup

This commit is contained in:
Ben C 2023-08-03 10:46:30 -04:00
parent 8277eeb490
commit c58f0e1cf7
2 changed files with 5 additions and 1 deletions

View File

@ -40,10 +40,14 @@ jobs:
id: get_version id: get_version
run: echo "version=$(cargo run --release -q -p owmods_cli version)" >> $GITHUB_OUTPUT run: echo "version=$(cargo run --release -q -p owmods_cli version)" >> $GITHUB_OUTPUT
shell: bash shell: bash
env:
ANALYTICS_API_KEY: ${{ secrets.ANALYTICS_API_KEY }}
- name: Generate Dist Folder - name: Generate Dist Folder
if: matrix.platform == 'ubuntu-20.04' if: matrix.platform == 'ubuntu-20.04'
run: cargo xtask dist_cli run: cargo xtask dist_cli
env:
ANALYTICS_API_KEY: ${{ secrets.ANALYTICS_API_KEY }}
- name: Archive Dist Files - name: Archive Dist Files
if: matrix.platform == 'ubuntu-20.04' if: matrix.platform == 'ubuntu-20.04'

View File

@ -23,7 +23,7 @@ pub struct BaseCli {
pub enum Commands { pub enum Commands {
#[command(about = "Print Version")] #[command(about = "Print Version")]
Version, Version,
#[command(about = "Install/Update OWML (default installs to %APPDATA%/ow-mod-man/OWML)")] #[command(about = "Install/Update OWML")]
Setup { Setup {
owml_path: Option<PathBuf>, owml_path: Option<PathBuf>,
#[arg( #[arg(