improve consistency of tags

This commit is contained in:
2026-03-27 13:23:46 +00:00
parent 847dffd842
commit 6ec3c55383
17 changed files with 216 additions and 216 deletions

View File

@@ -11,8 +11,8 @@ import (
type HeadampCmdGroup struct {
Index struct {
Index int `arg:"" help:"The index of the headamp."`
Gain HeadampGainCmd `help:"Get or set the gain of the headamp." cmd:""`
Phantom HeadampPhantomCmd `help:"Get or set the phantom power state of the headamp." cmd:""`
Gain HeadampGainCmd `cmd:"" help:"Get or set the gain of the headamp."`
Phantom HeadampPhantomCmd `cmd:"" help:"Get or set the phantom power state of the headamp."`
} `arg:"" help:"Control a specific headamp by index."`
}
@@ -99,7 +99,7 @@ func gradualGainAdjust(
// HeadampPhantomCmd defines the command for getting or setting the phantom power state of a headamp, allowing users to specify the desired state as "true"/"on" or "false"/"off".
type HeadampPhantomCmd struct {
State *string `help:"The phantom power state of the headamp." arg:"" enum:"true,on,false,off" optional:""`
State *string `arg:"" help:"The phantom power state of the headamp." enum:"true,on,false,off" optional:""`
}
// Validate checks if the provided phantom power state is valid and normalises it to "true" or "false".