Browse Source

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

Tobias Lütke 3 tháng trước cách đây
mục cha
commit
4950f423cd
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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;
   }