diff options
Diffstat (limited to 'src/command.rs')
| -rw-r--r-- | src/command.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/command.rs b/src/command.rs index 3a39290..db22028 100644 --- a/src/command.rs +++ b/src/command.rs @@ -9,7 +9,8 @@ use structopt::StructOpt; DisableHelpFlags, DisableVersion, ColorNever, - NoBinaryName]",) + NoBinaryName, + AllowLeadingHyphen]",) )] pub enum Command { /// Adds url to playlist @@ -18,6 +19,8 @@ pub enum Command { Play, /// Pauses audio playback Pause, + /// Seeks by a specified amount + Seek { amount: String }, /// Stops audio playback Stop, /// Switches to the next queue entry |
