mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2026-01-25 01:37:47 +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 ' 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.'
|
||||||
Write-Host ''
|
Write-Host ''
|
||||||
Write-Host 'Commands can be of the form:'
|
Write-Host 'Commands can be of the form:'
|
||||||
Write-Host ' Parameter=Value Set a parameter to a specific value.'
|
Write-Host ' Parameter=Value Set a parameter to a specific value.'
|
||||||
Write-Host ' !Parameter Toggle a boolean parameter.'
|
Write-Host ' !Parameter Toggle a boolean parameter.'
|
||||||
Write-Host ' Parameter Get the current value of a parameter.'
|
Write-Host ' Parameter Get the current value of a parameter.'
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -11,14 +11,15 @@ 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.
|
||||||
|
|
||||||
Commands can be of the form:
|
Commands can be of the form:
|
||||||
Parameter=Value Set a parameter to a specific value.
|
Parameter=Value Set a parameter to a specific value.
|
||||||
!Parameter Toggle a boolean parameter.
|
!Parameter Toggle a boolean parameter.
|
||||||
Parameter Get the current value of a parameter.
|
Parameter Get the current value of a parameter.
|
||||||
```
|
```
|
||||||
|
|
||||||
for example:
|
for example:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user