mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2026-01-24 17:27:48 +00:00
add -help option to help message
This commit is contained in:
parent
0e552873f0
commit
a45f7a93af
@ -31,14 +31,15 @@ if ($help -or ($script.Count -eq 0 -and -not $interactive)) {
|
||||
Write-Host ' CLI.ps1 [-interactive] [-kind <basic|banana|potato>] [-script <command1>, <command2>, ...]'
|
||||
Write-Host ''
|
||||
Write-Host 'Options:'
|
||||
Write-Host ' -help Display this help message.'
|
||||
Write-Host ' -interactive Start in interactive mode.'
|
||||
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 ' -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 ''
|
||||
Write-Host 'Commands can be of the form:'
|
||||
Write-Host ' Parameter=Value Set a parameter to a specific value.'
|
||||
Write-Host ' !Parameter Toggle a boolean parameter.'
|
||||
Write-Host ' Parameter Get the current value of a parameter.'
|
||||
Write-Host ' !Parameter Toggle a boolean parameter.'
|
||||
Write-Host ' Parameter Get the current value of a parameter.'
|
||||
exit 0
|
||||
}
|
||||
|
||||
|
||||
@ -11,14 +11,15 @@ Usage:
|
||||
CLI.ps1 [-interactive] [-kind <basic|banana|potato>] [-script <command1>, <command2>, ...]
|
||||
|
||||
Options:
|
||||
-help Display this help message.
|
||||
-interactive Start in interactive mode.
|
||||
-kind <type> Specify the Voicemeeter type (basic, banana or potato). Default is banana.
|
||||
-script <commands> Provide a list of commands to execute in sequence.
|
||||
-kind <type> Specify the Voicemeeter type (basic, banana or potato). Default is banana.
|
||||
-script <commands> Provide a list of commands to execute in sequence.
|
||||
|
||||
Commands can be of the form:
|
||||
Parameter=Value Set a parameter to a specific value.
|
||||
!Parameter Toggle a boolean parameter.
|
||||
Parameter Get the current value of a parameter.
|
||||
!Parameter Toggle a boolean parameter.
|
||||
Parameter Get the current value of a parameter.
|
||||
```
|
||||
|
||||
for example:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user