Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Have the `test-comment-format' command call `verify_all_options()' to report unknown command-line options. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | comment-formatter-wcwidth |
| Files: | files | file ages | folders |
| SHA3-256: |
fb0845d1aaab27f37f52dc6f29b474e8 |
| User & Date: | florian 2024-10-02 14:45:00.000 |
Context
|
2024-10-02
| ||
| 14:47 | Update the comment for the code copied from the SQLite shell. ... (check-in: d98999f801 user: florian tags: comment-formatter-wcwidth) | |
| 14:45 | Have the `test-comment-format' command call `verify_all_options()' to report unknown command-line options. ... (check-in: fb0845d1aa user: florian tags: comment-formatter-wcwidth) | |
| 14:43 | Fix the off-by-one errors if a fullwidth character only fits partially, and take into account character widths when scanning forward to find the distance to the next space. ... (check-in: d5479ba7c6 user: florian tags: comment-formatter-wcwidth) | |
Changes
Changes to src/comformat.c.
| ︙ | ︙ | |||
763 764 765 766 767 768 769 770 771 772 773 774 775 776 |
}
zIndent = find_option("indent",0,1);
if( zIndent ){
indent = atoi(zIndent);
}else{
indent = -1; /* automatic */
}
if( g.argc!=4 && g.argc!=5 ){
usage("?OPTIONS? PREFIX TEXT ?ORIGTEXT?");
}
zPrefix = g.argv[2];
zText = g.argv[3];
if( g.argc==5 ){
zOrigText = g.argv[4];
| > | 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 |
}
zIndent = find_option("indent",0,1);
if( zIndent ){
indent = atoi(zIndent);
}else{
indent = -1; /* automatic */
}
verify_all_options();
if( g.argc!=4 && g.argc!=5 ){
usage("?OPTIONS? PREFIX TEXT ?ORIGTEXT?");
}
zPrefix = g.argv[2];
zText = g.argv[3];
if( g.argc==5 ){
zOrigText = g.argv[4];
|
| ︙ | ︙ |