about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--Documentation/dtas-tl.txt4
-rw-r--r--lib/dtas/player/client_handler.rb2
2 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/dtas-tl.txt b/Documentation/dtas-tl.txt
index f7a3a1a..a1675b0 100644
--- a/Documentation/dtas-tl.txt
+++ b/Documentation/dtas-tl.txt
@@ -31,7 +31,7 @@ HH:MM:SS.FRAC format.
 * reto REGEXP [POS] - play first track with path matching REGEXP immediately,
 optionally seek to POS.  POS should be a timestamp in HH:MM:SS.FRAC format.
 * next - play the next track in the tracklist
-* previous - play the previous track in the tracklist
+* prev - play the previous track in the tracklist
 * repeat 1 - repeat the current track
 * repeat false - disable repeat
 * repeat true - enable repeat of the whole tracklist
@@ -54,7 +54,7 @@ to skip forward in the tracklist
 
 to skip backwards in the tracklist
 
-        $ dtas-tl previous
+        $ dtas-tl prev
 
 # ENVIRONMENT
 
diff --git a/lib/dtas/player/client_handler.rb b/lib/dtas/player/client_handler.rb
index 2f356ab..de52307 100644
--- a/lib/dtas/player/client_handler.rb
+++ b/lib/dtas/player/client_handler.rb
@@ -605,7 +605,7 @@ module DTAS::Player::ClientHandler # :nodoc:
     when "next"
       _tl_skip
       io.emit("OK")
-    when "previous"
+    when "prev"
       @tl.previous!
       _tl_skip
       io.emit("OK")