« get me outta code hell

http-music - Command-line music player + utils (not a server!)
about summary refs log tree commit diff
diff options
context:
space:
mode:
-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`
   )