« get me outta code hell

(duration-graph) Add --first and -f as aliases to --only-first - 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-03-14 14:06:38 -0300
committerFlorrie <towerofnix@gmail.com>2018-03-14 14:06:38 -0300
commit6916be5bb754d8e212087dd15fb7af85115862e4 (patch)
treec238229ed6146519c57bae7c8c5e433e13bd6e16 /src
parent7c7d32d0136092d06f9747cc44c5a37bcc9832b8 (diff)
(duration-graph) Add --first and -f as aliases to --only-first
Diffstat (limited to 'src')
-rw-r--r--src/duration-graph.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/duration-graph.js b/src/duration-graph.js
index 47183c9..5d0bf85 100644
--- a/src/duration-graph.js
+++ b/src/duration-graph.js
@@ -255,6 +255,8 @@ async function main(args) {
 
     '-only': util => util.alias('-only-first'),
     'o': util => util.alias('-only-first'),
+    '-first': util => util.alias('-only-first'),
+    'f': util => util.alias('-only-first'),
 
     '-all': util => {
       onlyFirst = Infinity