« get me outta code hell

fix msgs --data -> --data-path, etc (ty, GiovanH!) - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2021-12-06 07:15:56 -0400
committer(quasar) nebula <qznebula@protonmail.com>2021-12-06 07:15:56 -0400
commit6a664063d35568b470fb137836961682ab23af60 (patch)
tree8f7d23ef7994031bb5ea29cd34f813f6214737d4 /src
parent139b212438b18cce8bdfa171008f3b7ea07876bc (diff)
fix msgs --data -> --data-path, etc (ty, GiovanH!)
Diffstat (limited to 'src')
-rwxr-xr-xsrc/upd8.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/upd8.js b/src/upd8.js
index 291f110c..069292f3 100755
--- a/src/upd8.js
+++ b/src/upd8.js
@@ -225,14 +225,14 @@ const DEFAULT_STRINGS_FILE = 'strings-default.json';
 //
 // Rather than hard code it, anything in this directory can 8e shared across
 // 8oth ends of the code8ase.
-// (This gets symlinked into the --data directory.)
+// (This gets symlinked into the --data-path directory.)
 const UTILITY_DIRECTORY = 'util';
 
 // Code that's used only in the static site! CSS, cilent JS, etc.
-// (This gets symlinked into the --data directory.)
+// (This gets symlinked into the --data-path directory.)
 const STATIC_DIRECTORY = 'static';
 
-// Su8directory under provided --data directory for al8um files, which are
+// Su8directory under provided --data-path directory for al8um files, which are
 // read from and processed to compose the majority of album and track data.
 const DATA_ALBUM_DIRECTORY = 'album';
 
@@ -2257,9 +2257,9 @@ async function main() {
                 errored = true;
             }
         };
-        error(!dataPath,   `Expected --data option or HSMUSIC_DATA to be set`);
-        error(!mediaPath,  `Expected --media option or HSMUSIC_MEDIA to be set`);
-        error(!outputPath, `Expected --out option or HSMUSIC_OUT to be set`);
+        error(!dataPath,   `Expected --data-path option or HSMUSIC_DATA to be set`);
+        error(!mediaPath,  `Expected --media-path option or HSMUSIC_MEDIA to be set`);
+        error(!outputPath, `Expected --out-path option or HSMUSIC_OUT to be set`);
         if (errored) {
             return;
         }