浏览代码

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

Tobias Lütke 3 月之前
父节点
当前提交
4950f423cd
共有 1 个文件被更改,包括 2 次插入2 次删除
  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;
   }