Jelajahi Sumber

Merge pull request #200 from vincentkoc/vincentkoc-code/fix-cli-add-message

Tobias Lütke 3 bulan lalu
induk
melakukan
4950f423cd
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      src/qmd.ts

+ 2 - 2
src/qmd.ts

@@ -1163,7 +1163,7 @@ function listFiles(pathArg?: string): void {
     const yamlCollections = yamlListCollections();
 
     if (yamlCollections.length === 0) {
-      console.log("No collections found. Run 'qmd add .' to index files.");
+      console.log("No collections found. Run 'qmd collection add .' to index files.");
       closeDb();
       return;
     }
@@ -1302,7 +1302,7 @@ function collectionList(): void {
   const collections = listCollections(db);
 
   if (collections.length === 0) {
-    console.log("No collections found. Run 'qmd add .' to create one.");
+    console.log("No collections found. Run 'qmd collection add .' to create one.");
     closeDb();
     return;
   }