diff --git a/src/cmd/seek.go b/src/cmd/seek.go index 826eff9..13845f5 100644 --- a/src/cmd/seek.go +++ b/src/cmd/seek.go @@ -13,10 +13,11 @@ func init() { } var seekCmd = &cobra.Command{ - Use: "seek {forward/backward/songposition in seconds}", - Short: "seek forward/backward or to a given second", - Args: cobra.MinimumNArgs(1), - Long: `Seeks forward or backward, or seeks to a given position in seconds`, + Use: "seek {forward/backward/songposition in seconds}", + Short: "seek forward/backward or to a given second", + Aliases: []string{"s"}, + Args: cobra.MinimumNArgs(1), + Long: `Seeks forward or backward, or seeks to a given position in seconds`, RunE: func(cmd *cobra.Command, args []string) error { if args[0] == "forward" || args[0] == "f" { err := commands.Seek(ctx, client, true) diff --git a/src/cmd/volume.go b/src/cmd/volume.go index 5a6ae8f..4554833 100644 --- a/src/cmd/volume.go +++ b/src/cmd/volume.go @@ -13,10 +13,11 @@ func init() { } var volumeCmd = &cobra.Command{ - Use: "volume", - Short: "sets the volume", - Args: cobra.MinimumNArgs(1), - Long: `Sets the volume to the given percent [0-100] or increases/decreases by 5 percent if you say up or down`, + Use: "volume", + Short: "sets the volume", + Aliases: []string{"v"}, + Args: cobra.MinimumNArgs(1), + Long: `Sets the volume to the given percent [0-100] or increases/decreases by 5 percent if you say up or down`, RunE: func(cmd *cobra.Command, args []string) error { if args[0] == "up" { err := commands.ChangeVolume(ctx, client, 5)