Fossil SCM

Fix build by escaping the backslash in the help text of test-strip-comment-lines.

danield 2023-04-20 16:21 trunk
Commit cbfaec5875c3c274fc947e84cd7b7c55b2458a34d4da3648a8ce84ea0f7abbca
1 file changed +1 -1
+1 -1
--- src/blob.c
+++ src/blob.c
@@ -898,11 +898,11 @@
898898
** COMMAND: test-strip-comment-lines
899899
**
900900
** Usage: %fossil test-strip-comment-lines ?OPTIONS? INPUTFILE
901901
**
902902
** Read INPUTFILE and print it without comment lines (starting with '#').
903
-** Keep lines starting with "\#" but remove the initial backslash.
903
+** Keep lines starting with "\\#" but remove the initial backslash.
904904
**
905905
** This is used to test and debug the blob_strip_comment_lines() routine.
906906
**
907907
** Options:
908908
** -y|--side-by-side Show diff of INPUTFILE and output side-by-side
909909
--- src/blob.c
+++ src/blob.c
@@ -898,11 +898,11 @@
898 ** COMMAND: test-strip-comment-lines
899 **
900 ** Usage: %fossil test-strip-comment-lines ?OPTIONS? INPUTFILE
901 **
902 ** Read INPUTFILE and print it without comment lines (starting with '#').
903 ** Keep lines starting with "\#" but remove the initial backslash.
904 **
905 ** This is used to test and debug the blob_strip_comment_lines() routine.
906 **
907 ** Options:
908 ** -y|--side-by-side Show diff of INPUTFILE and output side-by-side
909
--- src/blob.c
+++ src/blob.c
@@ -898,11 +898,11 @@
898 ** COMMAND: test-strip-comment-lines
899 **
900 ** Usage: %fossil test-strip-comment-lines ?OPTIONS? INPUTFILE
901 **
902 ** Read INPUTFILE and print it without comment lines (starting with '#').
903 ** Keep lines starting with "\\#" but remove the initial backslash.
904 **
905 ** This is used to test and debug the blob_strip_comment_lines() routine.
906 **
907 ** Options:
908 ** -y|--side-by-side Show diff of INPUTFILE and output side-by-side
909

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button