Fossil SCM
Fix misspelled "--canonical" option on "fossil test-comment-format".
Commit
9813e6f85d5d51e48b0e30af7a3d7b6c613ea6a2a67519d7cc9d65a9d50a93ea
Parent
eb42f59fc0336fd…
1 file changed
+1
-1
+1
-1
| --- src/comformat.c | ||
| +++ src/comformat.c | ||
| @@ -764,11 +764,11 @@ | ||
| 764 | 764 | char *zOrigText; |
| 765 | 765 | int indent, width; |
| 766 | 766 | int fromFile = find_option("file", 0, 0)!=0; |
| 767 | 767 | int decode = find_option("decode", 0, 0)!=0; |
| 768 | 768 | int flags = COMMENT_PRINT_NONE; |
| 769 | - if( find_option("original",0,0) ){ | |
| 769 | + if( find_option("canonical",0,0) ){ | |
| 770 | 770 | flags |= COMMENT_PRINT_CANONICAL; |
| 771 | 771 | } |
| 772 | 772 | if( find_option("trimcrlf", 0, 0) ){ |
| 773 | 773 | flags |= COMMENT_PRINT_TRIM_CRLF; |
| 774 | 774 | } |
| 775 | 775 |
| --- src/comformat.c | |
| +++ src/comformat.c | |
| @@ -764,11 +764,11 @@ | |
| 764 | char *zOrigText; |
| 765 | int indent, width; |
| 766 | int fromFile = find_option("file", 0, 0)!=0; |
| 767 | int decode = find_option("decode", 0, 0)!=0; |
| 768 | int flags = COMMENT_PRINT_NONE; |
| 769 | if( find_option("original",0,0) ){ |
| 770 | flags |= COMMENT_PRINT_CANONICAL; |
| 771 | } |
| 772 | if( find_option("trimcrlf", 0, 0) ){ |
| 773 | flags |= COMMENT_PRINT_TRIM_CRLF; |
| 774 | } |
| 775 |
| --- src/comformat.c | |
| +++ src/comformat.c | |
| @@ -764,11 +764,11 @@ | |
| 764 | char *zOrigText; |
| 765 | int indent, width; |
| 766 | int fromFile = find_option("file", 0, 0)!=0; |
| 767 | int decode = find_option("decode", 0, 0)!=0; |
| 768 | int flags = COMMENT_PRINT_NONE; |
| 769 | if( find_option("canonical",0,0) ){ |
| 770 | flags |= COMMENT_PRINT_CANONICAL; |
| 771 | } |
| 772 | if( find_option("trimcrlf", 0, 0) ){ |
| 773 | flags |= COMMENT_PRINT_TRIM_CRLF; |
| 774 | } |
| 775 |