« get me outta code hell

0-based indexing is for.. JavaScripters - 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:
authorliam4 <towerofnix@gmail.com>2017-07-01 15:35:00 -0300
committerliam4 <towerofnix@gmail.com>2017-07-01 15:35:00 -0300
commit27704d39664b711ae110f9beb708afb7dcaf4dc5 (patch)
treeaf46360456e3b375d2e9875bf9843e9eea3952fd /src
parentf8617724b8853f9654465718bcaee71846e61db7 (diff)
0-based indexing is for.. JavaScripters
Diffstat (limited to 'src')
-rw-r--r--src/crawl-itunes.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crawl-itunes.js b/src/crawl-itunes.js
index 9c119da..ec6c3ec 100644
--- a/src/crawl-itunes.js
+++ b/src/crawl-itunes.js
@@ -88,7 +88,7 @@ async function crawl(libraryXML) {
 }
 
 async function main() {
-  const libraryPath = process.argv[3] || (
+  const libraryPath = process.argv[2] || (
     `${process.env.HOME}/Music/iTunes/iTunes Music Library.xml`
   )