« get me outta code hell

Add --playlist-string alias, update man page - http-music - Command-line music player + utils (not a server!)
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2018-01-24 17:19:20 -0400
committerFlorrie <towerofnix@gmail.com>2018-01-24 17:19:20 -0400
commit2ec0349909be5c8cca63008f18603555493b95d9 (patch)
tree2278fa2c567def1a3cba73d64b3a295277b77c45 /src
parent8b26455db6af055b0ed09d8494a62e5d99f04975 (diff)
Add --playlist-string alias, update man page
Diffstat (limited to 'src')
-rwxr-xr-xsrc/play.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/play.js b/src/play.js
index 788f6bc..75099f9 100755
--- a/src/play.js
+++ b/src/play.js
@@ -235,6 +235,8 @@ async function main(args) {
       await loadPlaylist(JSON.parse(util.nextArg()))
     },
 
+    '-playlist-string': util => util.alias('-open-playlist-string'),
+
     '-write-playlist': function(util) {
       // --write-playlist <file>  (alias: --write, -w, --save)
       // Writes the active playlist to a file. This file can later be used