Skip to content

Commit 5526287

Browse files
committed
fix syntax in apply-md
1 parent 4c3113e commit 5526287

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apply-md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ DRY_RUN=false
88
CREATE_MISSING=false
99
BACKUP=false
1010
BACKUP_DIR="./.backups"
11-
FILE_MARKER="```[a-z]+ (.+)"
11+
FILE_MARKER='^```[a-z]+ (.+)$'
1212
SKIP_UNCHANGED=false
1313
VERBOSE=false
1414
CONFIRM=false
@@ -36,7 +36,7 @@ while [[ "$#" -gt 0 ]]; do
3636
echo " --create-missing Create files that don't exist"
3737
echo " --backup Create backup files before applying changes"
3838
echo " --backup-dir=<dir> Directory for backups (default: ./.backups)"
39-
echo " --file-marker=<regex> Regex to identify target files from markdown (default: \"```[a-z]+ (.+)\")"
39+
echo " --file-marker=<regex> Regex to identify target files from markdown"
4040
echo " --skip-unchanged Skip files with no changes"
4141
echo " --verbose Show detailed output about changes"
4242
echo " --confirm Prompt for confirmation before applying each change"

0 commit comments

Comments
 (0)