upd snapshot subcommand help output

This commit is contained in:
onyx-and-iris 2026-02-06 17:47:21 +00:00
parent 52d51a7094
commit ecc1e1fb8c
2 changed files with 4 additions and 4 deletions

View File

@ -124,8 +124,8 @@ Headamp
Snapshot Snapshot
snapshot list List all snapshots. snapshot list List all snapshots.
snapshot <index> name Get or set the name of a snapshot. snapshot <index> name Get or set the name of a snapshot.
snapshot <index> save Save the current mixer state. snapshot <index> save Save the current mixer state to a snapshot.
snapshot <index> load Load a mixer state. snapshot <index> load Load a mixer state from a snapshot.
snapshot <index> delete Delete a snapshot. snapshot <index> delete Delete a snapshot.
Run "xair-cli <command> --help" for more information on a command. Run "xair-cli <command> --help" for more information on a command.

View File

@ -7,8 +7,8 @@ type SnapshotCmdGroup struct {
Index struct { Index struct {
Index int `arg:"" help:"The index of the snapshot."` Index int `arg:"" help:"The index of the snapshot."`
Name NameCmd `help:"Get or set the name of a snapshot." cmd:"name"` Name NameCmd `help:"Get or set the name of a snapshot." cmd:"name"`
Save SaveCmd `help:"Save the current mixer state." cmd:"save"` Save SaveCmd `help:"Save the current mixer state to a snapshot." cmd:"save"`
Load LoadCmd `help:"Load a mixer state." cmd:"load"` Load LoadCmd `help:"Load a mixer state from a snapshot." cmd:"load"`
Delete DeleteCmd `help:"Delete a snapshot." cmd:"delete"` Delete DeleteCmd `help:"Delete a snapshot." cmd:"delete"`
} `help:"The index of the snapshot." arg:""` } `help:"The index of the snapshot." arg:""`
} }