add -help option to help message

This commit is contained in:
onyx-and-iris 2026-01-20 15:31:03 +00:00
parent 0e552873f0
commit a45f7a93af
2 changed files with 10 additions and 8 deletions

View File

@ -31,6 +31,7 @@ if ($help -or ($script.Count -eq 0 -and -not $interactive)) {
Write-Host ' CLI.ps1 [-interactive] [-kind <basic|banana|potato>] [-script <command1>, <command2>, ...]' Write-Host ' CLI.ps1 [-interactive] [-kind <basic|banana|potato>] [-script <command1>, <command2>, ...]'
Write-Host '' Write-Host ''
Write-Host 'Options:' Write-Host 'Options:'
Write-Host ' -help Display this help message.'
Write-Host ' -interactive Start in interactive mode.' Write-Host ' -interactive Start in interactive mode.'
Write-Host ' -kind <type> Specify the Voicemeeter type (basic, banana or potato). Default is banana.' Write-Host ' -kind <type> Specify the Voicemeeter type (basic, banana or potato). Default is banana.'
Write-Host ' -script <commands> Provide a list of commands to execute in sequence.' Write-Host ' -script <commands> Provide a list of commands to execute in sequence.'

View File

@ -11,6 +11,7 @@ Usage:
CLI.ps1 [-interactive] [-kind <basic|banana|potato>] [-script <command1>, <command2>, ...] CLI.ps1 [-interactive] [-kind <basic|banana|potato>] [-script <command1>, <command2>, ...]
Options: Options:
-help Display this help message.
-interactive Start in interactive mode. -interactive Start in interactive mode.
-kind <type> Specify the Voicemeeter type (basic, banana or potato). Default is banana. -kind <type> Specify the Voicemeeter type (basic, banana or potato). Default is banana.
-script <commands> Provide a list of commands to execute in sequence. -script <commands> Provide a list of commands to execute in sequence.