浏览代码

Add regeneration command to dotsync warning header

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
G. Capella 22 小时之前
父节点
当前提交
aad6210bc8
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      start

+ 3 - 1
start

@@ -331,10 +331,12 @@ sub_sync(){
 
             {
                 if [[ "$comment_style" == "block" ]]; then
-                    echo "/* DO NOT EDIT - Generated by dotsync from: $src */"
+                    echo "/* DO NOT EDIT - Generated by dotsync from: $src"
+                    echo "   Regenerate with: dotsync */"
                 else
                     echo "$comment_style DO NOT EDIT - Generated by dotsync from:"
                     echo "$comment_style $src"
+                    echo "$comment_style Regenerate with: dotsync"
                 fi
                 echo ""
                 process_markers "$src"