Fossil SCM
Add a plain-text equivalent of the /test-all-help page to the CLI. Complete a first pass for spelling and minor grammar over all command and page help text.
Commit
f070ec99aed31e464cd3e8eb0e15cb685f718d5b
Parent
2a4e31bd8dfeea4…
12 files changed
+6
-6
+6
-6
+20
+2
-2
+15
-10
+1
-1
+3
-3
+18
-7
+2
-2
+27
-26
+8
-9
+6
-6
+6
-6
| --- src/diffcmd.c | ||
| +++ src/diffcmd.c | ||
| @@ -797,19 +797,19 @@ | ||
| 797 | 797 | ** --brief Show filenames only |
| 798 | 798 | ** --context|-c N Use N lines of context |
| 799 | 799 | ** --diff-binary BOOL Include binary files when using external commands |
| 800 | 800 | ** --exec-abs-paths Force absolute path names with external commands. |
| 801 | 801 | ** --exec-rel-paths Force relative path names with external commands. |
| 802 | -** --from|-r VERSION select VERSION as source for the diff | |
| 803 | -** --internal|-i use internal diff logic | |
| 804 | -** --side-by-side|-y side-by-side diff | |
| 802 | +** --from|-r VERSION Select VERSION as source for the diff | |
| 803 | +** --internal|-i Use internal diff logic | |
| 804 | +** --side-by-side|-y Side-by-side diff | |
| 805 | 805 | ** --strip-trailing-cr Strip trailing CR |
| 806 | 806 | ** --tk Launch a Tcl/Tk GUI for display |
| 807 | -** --to VERSION select VERSION as target for the diff | |
| 807 | +** --to VERSION Select VERSION as target for the diff | |
| 808 | 808 | ** --undo Diff against the "undo" buffer |
| 809 | -** --unified unified diff | |
| 810 | -** -v|--verbose output complete text of added or deleted files | |
| 809 | +** --unified Unified diff | |
| 810 | +** -v|--verbose Output complete text of added or deleted files | |
| 811 | 811 | ** -w|--ignore-all-space Ignore white space when comparing lines |
| 812 | 812 | ** -W|--width <num> Width of lines in side-by-side diff |
| 813 | 813 | ** -Z|--ignore-trailing-space Ignore changes to end-of-line whitespace |
| 814 | 814 | */ |
| 815 | 815 | void diff_cmd(void){ |
| 816 | 816 |
| --- src/diffcmd.c | |
| +++ src/diffcmd.c | |
| @@ -797,19 +797,19 @@ | |
| 797 | ** --brief Show filenames only |
| 798 | ** --context|-c N Use N lines of context |
| 799 | ** --diff-binary BOOL Include binary files when using external commands |
| 800 | ** --exec-abs-paths Force absolute path names with external commands. |
| 801 | ** --exec-rel-paths Force relative path names with external commands. |
| 802 | ** --from|-r VERSION select VERSION as source for the diff |
| 803 | ** --internal|-i use internal diff logic |
| 804 | ** --side-by-side|-y side-by-side diff |
| 805 | ** --strip-trailing-cr Strip trailing CR |
| 806 | ** --tk Launch a Tcl/Tk GUI for display |
| 807 | ** --to VERSION select VERSION as target for the diff |
| 808 | ** --undo Diff against the "undo" buffer |
| 809 | ** --unified unified diff |
| 810 | ** -v|--verbose output complete text of added or deleted files |
| 811 | ** -w|--ignore-all-space Ignore white space when comparing lines |
| 812 | ** -W|--width <num> Width of lines in side-by-side diff |
| 813 | ** -Z|--ignore-trailing-space Ignore changes to end-of-line whitespace |
| 814 | */ |
| 815 | void diff_cmd(void){ |
| 816 |
| --- src/diffcmd.c | |
| +++ src/diffcmd.c | |
| @@ -797,19 +797,19 @@ | |
| 797 | ** --brief Show filenames only |
| 798 | ** --context|-c N Use N lines of context |
| 799 | ** --diff-binary BOOL Include binary files when using external commands |
| 800 | ** --exec-abs-paths Force absolute path names with external commands. |
| 801 | ** --exec-rel-paths Force relative path names with external commands. |
| 802 | ** --from|-r VERSION Select VERSION as source for the diff |
| 803 | ** --internal|-i Use internal diff logic |
| 804 | ** --side-by-side|-y Side-by-side diff |
| 805 | ** --strip-trailing-cr Strip trailing CR |
| 806 | ** --tk Launch a Tcl/Tk GUI for display |
| 807 | ** --to VERSION Select VERSION as target for the diff |
| 808 | ** --undo Diff against the "undo" buffer |
| 809 | ** --unified Unified diff |
| 810 | ** -v|--verbose Output complete text of added or deleted files |
| 811 | ** -w|--ignore-all-space Ignore white space when comparing lines |
| 812 | ** -W|--width <num> Width of lines in side-by-side diff |
| 813 | ** -Z|--ignore-trailing-space Ignore changes to end-of-line whitespace |
| 814 | */ |
| 815 | void diff_cmd(void){ |
| 816 |
+6
-6
| --- src/fusefs.c | ||
| +++ src/fusefs.c | ||
| @@ -289,28 +289,28 @@ | ||
| 289 | 289 | /* |
| 290 | 290 | ** COMMAND: fusefs |
| 291 | 291 | ** |
| 292 | 292 | ** Usage: %fossil fusefs [--debug] DIRECTORY |
| 293 | 293 | ** |
| 294 | -** This command uses the Fuse Filesystem to mount a directory at | |
| 295 | -** DIRECTORY that contains the content of all check-ins in the | |
| 294 | +** This command uses the Fuse Filesystem (FuseFS) to mount a directory | |
| 295 | +** at DIRECTORY that contains the content of all check-ins in the | |
| 296 | 296 | ** repository. The names of files are DIRECTORY/checkins/VERSION/PATH |
| 297 | 297 | ** where DIRECTORY is the root of the mount, VERSION is any valid |
| 298 | 298 | ** check-in name (examples: "trunk" or "tip" or a tag or any unique |
| 299 | -** prefix of a SHA1 hash, etc) and PATH is the pathname of the file | |
| 300 | -** in the check-in. If DIRECTORY does not exist, then an attempt is | |
| 301 | -** made to create it. | |
| 299 | +** prefix of a SHA1 hash, etc) and PATH is the pathname of the file in | |
| 300 | +** the check-in. If DIRECTORY does not exist, then an attempt is made | |
| 301 | +** to create it. | |
| 302 | 302 | ** |
| 303 | 303 | ** The DIRECTORY/checkins directory is not searchable so one cannot |
| 304 | 304 | ** do "ls DIRECTORY/checkins" to get a listing of all possible check-in |
| 305 | 305 | ** names. There are countless variations on check-in names and it is |
| 306 | 306 | ** impractical to list them all. But all other directories are searchable |
| 307 | 307 | ** and so the "ls" command will work everywhere else in the fusefs |
| 308 | 308 | ** file hierarchy. |
| 309 | 309 | ** |
| 310 | 310 | ** The FuseFS typically only works on Linux, and then only on Linux |
| 311 | -** systems that have the right kernel drivers and have install the | |
| 311 | +** systems that have the right kernel drivers and have installed the | |
| 312 | 312 | ** appropriate support libraries. |
| 313 | 313 | ** |
| 314 | 314 | ** After stopping the "fossil fusefs" command, it might also be necessary |
| 315 | 315 | ** to run "fusermount -u DIRECTORY" to reset the FuseFS before using it |
| 316 | 316 | ** again. |
| 317 | 317 |
| --- src/fusefs.c | |
| +++ src/fusefs.c | |
| @@ -289,28 +289,28 @@ | |
| 289 | /* |
| 290 | ** COMMAND: fusefs |
| 291 | ** |
| 292 | ** Usage: %fossil fusefs [--debug] DIRECTORY |
| 293 | ** |
| 294 | ** This command uses the Fuse Filesystem to mount a directory at |
| 295 | ** DIRECTORY that contains the content of all check-ins in the |
| 296 | ** repository. The names of files are DIRECTORY/checkins/VERSION/PATH |
| 297 | ** where DIRECTORY is the root of the mount, VERSION is any valid |
| 298 | ** check-in name (examples: "trunk" or "tip" or a tag or any unique |
| 299 | ** prefix of a SHA1 hash, etc) and PATH is the pathname of the file |
| 300 | ** in the check-in. If DIRECTORY does not exist, then an attempt is |
| 301 | ** made to create it. |
| 302 | ** |
| 303 | ** The DIRECTORY/checkins directory is not searchable so one cannot |
| 304 | ** do "ls DIRECTORY/checkins" to get a listing of all possible check-in |
| 305 | ** names. There are countless variations on check-in names and it is |
| 306 | ** impractical to list them all. But all other directories are searchable |
| 307 | ** and so the "ls" command will work everywhere else in the fusefs |
| 308 | ** file hierarchy. |
| 309 | ** |
| 310 | ** The FuseFS typically only works on Linux, and then only on Linux |
| 311 | ** systems that have the right kernel drivers and have install the |
| 312 | ** appropriate support libraries. |
| 313 | ** |
| 314 | ** After stopping the "fossil fusefs" command, it might also be necessary |
| 315 | ** to run "fusermount -u DIRECTORY" to reset the FuseFS before using it |
| 316 | ** again. |
| 317 |
| --- src/fusefs.c | |
| +++ src/fusefs.c | |
| @@ -289,28 +289,28 @@ | |
| 289 | /* |
| 290 | ** COMMAND: fusefs |
| 291 | ** |
| 292 | ** Usage: %fossil fusefs [--debug] DIRECTORY |
| 293 | ** |
| 294 | ** This command uses the Fuse Filesystem (FuseFS) to mount a directory |
| 295 | ** at DIRECTORY that contains the content of all check-ins in the |
| 296 | ** repository. The names of files are DIRECTORY/checkins/VERSION/PATH |
| 297 | ** where DIRECTORY is the root of the mount, VERSION is any valid |
| 298 | ** check-in name (examples: "trunk" or "tip" or a tag or any unique |
| 299 | ** prefix of a SHA1 hash, etc) and PATH is the pathname of the file in |
| 300 | ** the check-in. If DIRECTORY does not exist, then an attempt is made |
| 301 | ** to create it. |
| 302 | ** |
| 303 | ** The DIRECTORY/checkins directory is not searchable so one cannot |
| 304 | ** do "ls DIRECTORY/checkins" to get a listing of all possible check-in |
| 305 | ** names. There are countless variations on check-in names and it is |
| 306 | ** impractical to list them all. But all other directories are searchable |
| 307 | ** and so the "ls" command will work everywhere else in the fusefs |
| 308 | ** file hierarchy. |
| 309 | ** |
| 310 | ** The FuseFS typically only works on Linux, and then only on Linux |
| 311 | ** systems that have the right kernel drivers and have installed the |
| 312 | ** appropriate support libraries. |
| 313 | ** |
| 314 | ** After stopping the "fossil fusefs" command, it might also be necessary |
| 315 | ** to run "fusermount -u DIRECTORY" to reset the FuseFS before using it |
| 316 | ** again. |
| 317 |
+20
| --- src/main.c | ||
| +++ src/main.c | ||
| @@ -1222,10 +1222,30 @@ | ||
| 1222 | 1222 | z++; |
| 1223 | 1223 | } |
| 1224 | 1224 | } |
| 1225 | 1225 | putchar('\n'); |
| 1226 | 1226 | } |
| 1227 | + | |
| 1228 | + | |
| 1229 | +/* | |
| 1230 | +** COMMAND: test-all-help | |
| 1231 | +** %fossil test-all-help | |
| 1232 | +** | |
| 1233 | +** Show all help text. Useful for proof-reading. | |
| 1234 | +*/ | |
| 1235 | +void test_all_help_cmd(void){ | |
| 1236 | + int i; | |
| 1237 | + fossil_print("All commands and pages:\n\n"); | |
| 1238 | + for(i=0; i<count(aCommand); i++){ | |
| 1239 | + //if( memcmp(aCommand[i].zName, "test", 4)==0 ) continue; | |
| 1240 | + fossil_print("# %s\n", aCommand[i].zName); | |
| 1241 | + fossil_print("%s\n\n", aCmdHelp[i].zText); | |
| 1242 | + } | |
| 1243 | + fossil_print("---\n"); | |
| 1244 | + version_cmd(); | |
| 1245 | +} | |
| 1246 | + | |
| 1227 | 1247 | |
| 1228 | 1248 | /* |
| 1229 | 1249 | ** WEBPAGE: help |
| 1230 | 1250 | ** URL: /help?name=CMD |
| 1231 | 1251 | ** |
| 1232 | 1252 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -1222,10 +1222,30 @@ | |
| 1222 | z++; |
| 1223 | } |
| 1224 | } |
| 1225 | putchar('\n'); |
| 1226 | } |
| 1227 | |
| 1228 | /* |
| 1229 | ** WEBPAGE: help |
| 1230 | ** URL: /help?name=CMD |
| 1231 | ** |
| 1232 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -1222,10 +1222,30 @@ | |
| 1222 | z++; |
| 1223 | } |
| 1224 | } |
| 1225 | putchar('\n'); |
| 1226 | } |
| 1227 | |
| 1228 | |
| 1229 | /* |
| 1230 | ** COMMAND: test-all-help |
| 1231 | ** %fossil test-all-help |
| 1232 | ** |
| 1233 | ** Show all help text. Useful for proof-reading. |
| 1234 | */ |
| 1235 | void test_all_help_cmd(void){ |
| 1236 | int i; |
| 1237 | fossil_print("All commands and pages:\n\n"); |
| 1238 | for(i=0; i<count(aCommand); i++){ |
| 1239 | //if( memcmp(aCommand[i].zName, "test", 4)==0 ) continue; |
| 1240 | fossil_print("# %s\n", aCommand[i].zName); |
| 1241 | fossil_print("%s\n\n", aCmdHelp[i].zText); |
| 1242 | } |
| 1243 | fossil_print("---\n"); |
| 1244 | version_cmd(); |
| 1245 | } |
| 1246 | |
| 1247 | |
| 1248 | /* |
| 1249 | ** WEBPAGE: help |
| 1250 | ** URL: /help?name=CMD |
| 1251 | ** |
| 1252 |
+2
-2
| --- src/purge.c | ||
| +++ src/purge.c | ||
| @@ -437,14 +437,14 @@ | ||
| 437 | 437 | ** |
| 438 | 438 | ** fossil purge ?checkins? TAGS... ?OPTIONS? |
| 439 | 439 | ** |
| 440 | 440 | ** Move the check-ins identified by TAGS and all of their descendants |
| 441 | 441 | ** out of the repository and into the graveyard. The "checkins" |
| 442 | -** subcommand keyword is option and can be omitted as long as TAGS | |
| 442 | +** subcommand keyword is optional and can be omitted as long as TAGS | |
| 443 | 443 | ** does not conflict with any other subcommand. |
| 444 | 444 | ** |
| 445 | -** If a TAGS includes a branch name then it means all the check-ins | |
| 445 | +** If TAGS includes a branch name then it means all the check-ins | |
| 446 | 446 | ** on the most recent occurrance of that branch. |
| 447 | 447 | ** |
| 448 | 448 | ** --explain Make no changes, but show what would happen. |
| 449 | 449 | ** --dry-run Make no changes. |
| 450 | 450 | ** |
| 451 | 451 |
| --- src/purge.c | |
| +++ src/purge.c | |
| @@ -437,14 +437,14 @@ | |
| 437 | ** |
| 438 | ** fossil purge ?checkins? TAGS... ?OPTIONS? |
| 439 | ** |
| 440 | ** Move the check-ins identified by TAGS and all of their descendants |
| 441 | ** out of the repository and into the graveyard. The "checkins" |
| 442 | ** subcommand keyword is option and can be omitted as long as TAGS |
| 443 | ** does not conflict with any other subcommand. |
| 444 | ** |
| 445 | ** If a TAGS includes a branch name then it means all the check-ins |
| 446 | ** on the most recent occurrance of that branch. |
| 447 | ** |
| 448 | ** --explain Make no changes, but show what would happen. |
| 449 | ** --dry-run Make no changes. |
| 450 | ** |
| 451 |
| --- src/purge.c | |
| +++ src/purge.c | |
| @@ -437,14 +437,14 @@ | |
| 437 | ** |
| 438 | ** fossil purge ?checkins? TAGS... ?OPTIONS? |
| 439 | ** |
| 440 | ** Move the check-ins identified by TAGS and all of their descendants |
| 441 | ** out of the repository and into the graveyard. The "checkins" |
| 442 | ** subcommand keyword is optional and can be omitted as long as TAGS |
| 443 | ** does not conflict with any other subcommand. |
| 444 | ** |
| 445 | ** If TAGS includes a branch name then it means all the check-ins |
| 446 | ** on the most recent occurrance of that branch. |
| 447 | ** |
| 448 | ** --explain Make no changes, but show what would happen. |
| 449 | ** --dry-run Make no changes. |
| 450 | ** |
| 451 |
+15
-10
| --- src/search.c | ||
| +++ src/search.c | ||
| @@ -518,21 +518,26 @@ | ||
| 518 | 518 | ** Testing the search function. |
| 519 | 519 | ** |
| 520 | 520 | ** COMMAND: search* |
| 521 | 521 | ** %fossil search [-all|-a] [-limit|-n #] [-width|-W #] pattern... |
| 522 | 522 | ** |
| 523 | -** Search for timeline entries matching all words | |
| 524 | -** provided on the command line. Whole-word matches | |
| 525 | -** scope more highly than partial matches. | |
| 526 | -** | |
| 527 | -** Outputs, by default, some top-N fraction of the | |
| 528 | -** results. The -all option can be used to output | |
| 529 | -** all matches, regardless of their search score. | |
| 530 | -** The -limit option can be used to limit the number | |
| 531 | -** of entries returned. The -width option can be | |
| 532 | -** used to set the output width used when printing | |
| 523 | +** Search for timeline entries matching all words provided on the | |
| 524 | +** command line. Whole-word matches scope more highly than partial | |
| 533 | 525 | ** matches. |
| 526 | +** | |
| 527 | +** Outputs, by default, some top-N fraction of the results. The -all | |
| 528 | +** option can be used to output all matches, regardless of their search | |
| 529 | +** score. The -limit option can be used to limit the number of entries | |
| 530 | +** returned. The -width option can be used to set the output width used | |
| 531 | +** when printing matches. | |
| 532 | +** | |
| 533 | +** Options: | |
| 534 | +** | |
| 535 | +** -a|--all Output all matches, not just best matches. | |
| 536 | +** -n|--limit N Limit output to N matches. | |
| 537 | +** -W|--width WIDTH Set display width to WIDTH columns, 0 for | |
| 538 | +** unlimited. Defaults the terminal's width. | |
| 534 | 539 | */ |
| 535 | 540 | void search_cmd(void){ |
| 536 | 541 | Blob pattern; |
| 537 | 542 | int i; |
| 538 | 543 | Blob sql = empty_blob; |
| 539 | 544 |
| --- src/search.c | |
| +++ src/search.c | |
| @@ -518,21 +518,26 @@ | |
| 518 | ** Testing the search function. |
| 519 | ** |
| 520 | ** COMMAND: search* |
| 521 | ** %fossil search [-all|-a] [-limit|-n #] [-width|-W #] pattern... |
| 522 | ** |
| 523 | ** Search for timeline entries matching all words |
| 524 | ** provided on the command line. Whole-word matches |
| 525 | ** scope more highly than partial matches. |
| 526 | ** |
| 527 | ** Outputs, by default, some top-N fraction of the |
| 528 | ** results. The -all option can be used to output |
| 529 | ** all matches, regardless of their search score. |
| 530 | ** The -limit option can be used to limit the number |
| 531 | ** of entries returned. The -width option can be |
| 532 | ** used to set the output width used when printing |
| 533 | ** matches. |
| 534 | */ |
| 535 | void search_cmd(void){ |
| 536 | Blob pattern; |
| 537 | int i; |
| 538 | Blob sql = empty_blob; |
| 539 |
| --- src/search.c | |
| +++ src/search.c | |
| @@ -518,21 +518,26 @@ | |
| 518 | ** Testing the search function. |
| 519 | ** |
| 520 | ** COMMAND: search* |
| 521 | ** %fossil search [-all|-a] [-limit|-n #] [-width|-W #] pattern... |
| 522 | ** |
| 523 | ** Search for timeline entries matching all words provided on the |
| 524 | ** command line. Whole-word matches scope more highly than partial |
| 525 | ** matches. |
| 526 | ** |
| 527 | ** Outputs, by default, some top-N fraction of the results. The -all |
| 528 | ** option can be used to output all matches, regardless of their search |
| 529 | ** score. The -limit option can be used to limit the number of entries |
| 530 | ** returned. The -width option can be used to set the output width used |
| 531 | ** when printing matches. |
| 532 | ** |
| 533 | ** Options: |
| 534 | ** |
| 535 | ** -a|--all Output all matches, not just best matches. |
| 536 | ** -n|--limit N Limit output to N matches. |
| 537 | ** -W|--width WIDTH Set display width to WIDTH columns, 0 for |
| 538 | ** unlimited. Defaults the terminal's width. |
| 539 | */ |
| 540 | void search_cmd(void){ |
| 541 | Blob pattern; |
| 542 | int i; |
| 543 | Blob sql = empty_blob; |
| 544 |
+1
-1
| --- src/sqlcmd.c | ||
| +++ src/sqlcmd.c | ||
| @@ -188,11 +188,11 @@ | ||
| 188 | 188 | ** now() Return the number of seconds since 1970. |
| 189 | 189 | ** |
| 190 | 190 | ** REGEXP The REGEXP operator works, unlike in |
| 191 | 191 | ** standard SQLite. |
| 192 | 192 | ** |
| 193 | -** files_of_checkin The "files_of_check" virtual table is | |
| 193 | +** files_of_checkin The "files_of_checkin" virtual table is | |
| 194 | 194 | ** available for decoding manifests. |
| 195 | 195 | ** |
| 196 | 196 | ** Usage example for files_of_checkin: |
| 197 | 197 | ** |
| 198 | 198 | ** CREATE VIRTUAL TABLE temp.foci USING files_of_checkin; |
| 199 | 199 |
| --- src/sqlcmd.c | |
| +++ src/sqlcmd.c | |
| @@ -188,11 +188,11 @@ | |
| 188 | ** now() Return the number of seconds since 1970. |
| 189 | ** |
| 190 | ** REGEXP The REGEXP operator works, unlike in |
| 191 | ** standard SQLite. |
| 192 | ** |
| 193 | ** files_of_checkin The "files_of_check" virtual table is |
| 194 | ** available for decoding manifests. |
| 195 | ** |
| 196 | ** Usage example for files_of_checkin: |
| 197 | ** |
| 198 | ** CREATE VIRTUAL TABLE temp.foci USING files_of_checkin; |
| 199 |
| --- src/sqlcmd.c | |
| +++ src/sqlcmd.c | |
| @@ -188,11 +188,11 @@ | |
| 188 | ** now() Return the number of seconds since 1970. |
| 189 | ** |
| 190 | ** REGEXP The REGEXP operator works, unlike in |
| 191 | ** standard SQLite. |
| 192 | ** |
| 193 | ** files_of_checkin The "files_of_checkin" virtual table is |
| 194 | ** available for decoding manifests. |
| 195 | ** |
| 196 | ** Usage example for files_of_checkin: |
| 197 | ** |
| 198 | ** CREATE VIRTUAL TABLE temp.foci USING files_of_checkin; |
| 199 |
+3
-3
| --- src/sync.c | ||
| +++ src/sync.c | ||
| @@ -251,13 +251,13 @@ | ||
| 251 | 251 | /* |
| 252 | 252 | ** COMMAND: sync |
| 253 | 253 | ** |
| 254 | 254 | ** Usage: %fossil sync ?URL? ?options? |
| 255 | 255 | ** |
| 256 | -** Synchronize all sharable changes between the local repository and a | |
| 257 | -** a remote repository. Sharable changes include public check-ins, and wiki, | |
| 258 | -** ticket, and tech-note edits. | |
| 256 | +** Synchronize all sharable changes between the local repository and a a | |
| 257 | +** remote repository. Sharable changes include public check-ins and | |
| 258 | +** edits to wiki pages, tickets, and technical notes. | |
| 259 | 259 | ** |
| 260 | 260 | ** If URL is not specified, then the URL from the most recent clone, push, |
| 261 | 261 | ** pull, remote-url, or sync command is used. See "fossil help clone" for |
| 262 | 262 | ** details on the URL formats. |
| 263 | 263 | ** |
| 264 | 264 |
| --- src/sync.c | |
| +++ src/sync.c | |
| @@ -251,13 +251,13 @@ | |
| 251 | /* |
| 252 | ** COMMAND: sync |
| 253 | ** |
| 254 | ** Usage: %fossil sync ?URL? ?options? |
| 255 | ** |
| 256 | ** Synchronize all sharable changes between the local repository and a |
| 257 | ** a remote repository. Sharable changes include public check-ins, and wiki, |
| 258 | ** ticket, and tech-note edits. |
| 259 | ** |
| 260 | ** If URL is not specified, then the URL from the most recent clone, push, |
| 261 | ** pull, remote-url, or sync command is used. See "fossil help clone" for |
| 262 | ** details on the URL formats. |
| 263 | ** |
| 264 |
| --- src/sync.c | |
| +++ src/sync.c | |
| @@ -251,13 +251,13 @@ | |
| 251 | /* |
| 252 | ** COMMAND: sync |
| 253 | ** |
| 254 | ** Usage: %fossil sync ?URL? ?options? |
| 255 | ** |
| 256 | ** Synchronize all sharable changes between the local repository and a a |
| 257 | ** remote repository. Sharable changes include public check-ins and |
| 258 | ** edits to wiki pages, tickets, and technical notes. |
| 259 | ** |
| 260 | ** If URL is not specified, then the URL from the most recent clone, push, |
| 261 | ** pull, remote-url, or sync command is used. See "fossil help clone" for |
| 262 | ** details on the URL formats. |
| 263 | ** |
| 264 |
+18
-7
| --- src/tag.c | ||
| +++ src/tag.c | ||
| @@ -335,29 +335,44 @@ | ||
| 335 | 335 | |
| 336 | 336 | /* |
| 337 | 337 | ** COMMAND: tag |
| 338 | 338 | ** Usage: %fossil tag SUBCOMMAND ... |
| 339 | 339 | ** |
| 340 | -** Run various subcommands to control tags and properties | |
| 340 | +** Run various subcommands to control tags and properties. | |
| 341 | 341 | ** |
| 342 | -** %fossil tag add ?--raw? ?--propagate? TAGNAME CHECK-IN ?VALUE? | |
| 342 | +** %fossil tag add ?OPTIONS? TAGNAME CHECK-IN ?VALUE? | |
| 343 | 343 | ** |
| 344 | 344 | ** Add a new tag or property to CHECK-IN. The tag will |
| 345 | 345 | ** be usable instead of a CHECK-IN in commands such as |
| 346 | 346 | ** update and merge. If the --propagate flag is present, |
| 347 | 347 | ** the tag value propagates to all descendants of CHECK-IN |
| 348 | 348 | ** |
| 349 | +** Options: | |
| 350 | +** --raw Raw tag name. | |
| 351 | +** --propagate Propagating tag. | |
| 352 | +** --date-override DATETIME Set date and time added. | |
| 353 | +** --user-override USER Name USER when adding the tag. | |
| 354 | +** | |
| 355 | +** The --date-override and --user-override options support | |
| 356 | +** importing history from other SCM systems. DATETIME has | |
| 357 | +** the form 'YYYY-MMM-DD HH:MM:SS'. | |
| 358 | +** | |
| 349 | 359 | ** %fossil tag cancel ?--raw? TAGNAME CHECK-IN |
| 350 | 360 | ** |
| 351 | 361 | ** Remove the tag TAGNAME from CHECK-IN, and also remove |
| 352 | 362 | ** the propagation of the tag to any descendants. |
| 353 | 363 | ** |
| 354 | -** %fossil tag find ?--raw? ?-t|--type TYPE? ?-n|--limit #? TAGNAME | |
| 364 | +** %fossil tag find ?OPTIONS? TAGNAME | |
| 355 | 365 | ** |
| 356 | 366 | ** List all objects that use TAGNAME. TYPE can be "ci" for |
| 357 | 367 | ** check-ins or "e" for events. The limit option limits the number |
| 358 | 368 | ** of results to the given value. |
| 369 | +** | |
| 370 | +** Options: | |
| 371 | +** --raw Raw tag name. | |
| 372 | +** -t|--type TYPE One of "ci", or "e". | |
| 373 | +** -n|--limit N Limit to N results. | |
| 359 | 374 | ** |
| 360 | 375 | ** %fossil tag list|ls ?--raw? ?CHECK-IN? |
| 361 | 376 | ** |
| 362 | 377 | ** List all tags, or if CHECK-IN is supplied, list |
| 363 | 378 | ** all tags and their values for CHECK-IN. |
| @@ -379,14 +394,10 @@ | ||
| 379 | 394 | ** |
| 380 | 395 | ** fossil update tag:decaf |
| 381 | 396 | ** |
| 382 | 397 | ** will assume that "decaf" is a tag/branch name. |
| 383 | 398 | ** |
| 384 | -** only allow --date-override and --user-override in | |
| 385 | -** %fossil tag add --date-override 'YYYY-MMM-DD HH:MM:SS' \\ | |
| 386 | -** --user-override user | |
| 387 | -** in order to import history from other scm systems | |
| 388 | 399 | */ |
| 389 | 400 | void tag_cmd(void){ |
| 390 | 401 | int n; |
| 391 | 402 | int fRaw = find_option("raw","",0)!=0; |
| 392 | 403 | int fPropagate = find_option("propagate","",0)!=0; |
| 393 | 404 |
| --- src/tag.c | |
| +++ src/tag.c | |
| @@ -335,29 +335,44 @@ | |
| 335 | |
| 336 | /* |
| 337 | ** COMMAND: tag |
| 338 | ** Usage: %fossil tag SUBCOMMAND ... |
| 339 | ** |
| 340 | ** Run various subcommands to control tags and properties |
| 341 | ** |
| 342 | ** %fossil tag add ?--raw? ?--propagate? TAGNAME CHECK-IN ?VALUE? |
| 343 | ** |
| 344 | ** Add a new tag or property to CHECK-IN. The tag will |
| 345 | ** be usable instead of a CHECK-IN in commands such as |
| 346 | ** update and merge. If the --propagate flag is present, |
| 347 | ** the tag value propagates to all descendants of CHECK-IN |
| 348 | ** |
| 349 | ** %fossil tag cancel ?--raw? TAGNAME CHECK-IN |
| 350 | ** |
| 351 | ** Remove the tag TAGNAME from CHECK-IN, and also remove |
| 352 | ** the propagation of the tag to any descendants. |
| 353 | ** |
| 354 | ** %fossil tag find ?--raw? ?-t|--type TYPE? ?-n|--limit #? TAGNAME |
| 355 | ** |
| 356 | ** List all objects that use TAGNAME. TYPE can be "ci" for |
| 357 | ** check-ins or "e" for events. The limit option limits the number |
| 358 | ** of results to the given value. |
| 359 | ** |
| 360 | ** %fossil tag list|ls ?--raw? ?CHECK-IN? |
| 361 | ** |
| 362 | ** List all tags, or if CHECK-IN is supplied, list |
| 363 | ** all tags and their values for CHECK-IN. |
| @@ -379,14 +394,10 @@ | |
| 379 | ** |
| 380 | ** fossil update tag:decaf |
| 381 | ** |
| 382 | ** will assume that "decaf" is a tag/branch name. |
| 383 | ** |
| 384 | ** only allow --date-override and --user-override in |
| 385 | ** %fossil tag add --date-override 'YYYY-MMM-DD HH:MM:SS' \\ |
| 386 | ** --user-override user |
| 387 | ** in order to import history from other scm systems |
| 388 | */ |
| 389 | void tag_cmd(void){ |
| 390 | int n; |
| 391 | int fRaw = find_option("raw","",0)!=0; |
| 392 | int fPropagate = find_option("propagate","",0)!=0; |
| 393 |
| --- src/tag.c | |
| +++ src/tag.c | |
| @@ -335,29 +335,44 @@ | |
| 335 | |
| 336 | /* |
| 337 | ** COMMAND: tag |
| 338 | ** Usage: %fossil tag SUBCOMMAND ... |
| 339 | ** |
| 340 | ** Run various subcommands to control tags and properties. |
| 341 | ** |
| 342 | ** %fossil tag add ?OPTIONS? TAGNAME CHECK-IN ?VALUE? |
| 343 | ** |
| 344 | ** Add a new tag or property to CHECK-IN. The tag will |
| 345 | ** be usable instead of a CHECK-IN in commands such as |
| 346 | ** update and merge. If the --propagate flag is present, |
| 347 | ** the tag value propagates to all descendants of CHECK-IN |
| 348 | ** |
| 349 | ** Options: |
| 350 | ** --raw Raw tag name. |
| 351 | ** --propagate Propagating tag. |
| 352 | ** --date-override DATETIME Set date and time added. |
| 353 | ** --user-override USER Name USER when adding the tag. |
| 354 | ** |
| 355 | ** The --date-override and --user-override options support |
| 356 | ** importing history from other SCM systems. DATETIME has |
| 357 | ** the form 'YYYY-MMM-DD HH:MM:SS'. |
| 358 | ** |
| 359 | ** %fossil tag cancel ?--raw? TAGNAME CHECK-IN |
| 360 | ** |
| 361 | ** Remove the tag TAGNAME from CHECK-IN, and also remove |
| 362 | ** the propagation of the tag to any descendants. |
| 363 | ** |
| 364 | ** %fossil tag find ?OPTIONS? TAGNAME |
| 365 | ** |
| 366 | ** List all objects that use TAGNAME. TYPE can be "ci" for |
| 367 | ** check-ins or "e" for events. The limit option limits the number |
| 368 | ** of results to the given value. |
| 369 | ** |
| 370 | ** Options: |
| 371 | ** --raw Raw tag name. |
| 372 | ** -t|--type TYPE One of "ci", or "e". |
| 373 | ** -n|--limit N Limit to N results. |
| 374 | ** |
| 375 | ** %fossil tag list|ls ?--raw? ?CHECK-IN? |
| 376 | ** |
| 377 | ** List all tags, or if CHECK-IN is supplied, list |
| 378 | ** all tags and their values for CHECK-IN. |
| @@ -379,14 +394,10 @@ | |
| 394 | ** |
| 395 | ** fossil update tag:decaf |
| 396 | ** |
| 397 | ** will assume that "decaf" is a tag/branch name. |
| 398 | ** |
| 399 | */ |
| 400 | void tag_cmd(void){ |
| 401 | int n; |
| 402 | int fRaw = find_option("raw","",0)!=0; |
| 403 | int fPropagate = find_option("propagate","",0)!=0; |
| 404 |
+2
-2
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -1212,11 +1212,11 @@ | ||
| 1212 | 1212 | ** to=UUID ... to this |
| 1213 | 1213 | ** shortest ... show only the shortest path |
| 1214 | 1214 | ** uf=FUUID Show only check-ins that use given file version |
| 1215 | 1215 | ** brbg Background color from branch name |
| 1216 | 1216 | ** ubg Background color from user |
| 1217 | -** namechng Show only check-ins that filename changes | |
| 1217 | +** namechng Show only check-ins that have filename changes | |
| 1218 | 1218 | ** forks Show only forks and their children |
| 1219 | 1219 | ** ym=YYYY-MM Show only events for the given year/month. |
| 1220 | 1220 | ** ymd=YYYY-MM-DD Show only events on the given day |
| 1221 | 1221 | ** datefmt=N Override the date format |
| 1222 | 1222 | ** bisect Show the check-ins that are in the current bisect |
| @@ -2014,11 +2014,11 @@ | ||
| 2014 | 2014 | ** descendants | children |
| 2015 | 2015 | ** ancestors | parents |
| 2016 | 2016 | ** |
| 2017 | 2017 | ** The CHECKIN can be any unique prefix of 4 characters or more. |
| 2018 | 2018 | ** The DATETIME should be in the ISO8601 format. For |
| 2019 | -** examples: "2007-08-18 07:21:21". You can also say "current" | |
| 2019 | +** example: "2007-08-18 07:21:21". You can also say "current" | |
| 2020 | 2020 | ** for the current version or "now" for the current time. |
| 2021 | 2021 | ** |
| 2022 | 2022 | ** Options: |
| 2023 | 2023 | ** -n|--limit N Output the first N entries (default 20 lines). |
| 2024 | 2024 | ** N=0 means no limit. |
| 2025 | 2025 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1212,11 +1212,11 @@ | |
| 1212 | ** to=UUID ... to this |
| 1213 | ** shortest ... show only the shortest path |
| 1214 | ** uf=FUUID Show only check-ins that use given file version |
| 1215 | ** brbg Background color from branch name |
| 1216 | ** ubg Background color from user |
| 1217 | ** namechng Show only check-ins that filename changes |
| 1218 | ** forks Show only forks and their children |
| 1219 | ** ym=YYYY-MM Show only events for the given year/month. |
| 1220 | ** ymd=YYYY-MM-DD Show only events on the given day |
| 1221 | ** datefmt=N Override the date format |
| 1222 | ** bisect Show the check-ins that are in the current bisect |
| @@ -2014,11 +2014,11 @@ | |
| 2014 | ** descendants | children |
| 2015 | ** ancestors | parents |
| 2016 | ** |
| 2017 | ** The CHECKIN can be any unique prefix of 4 characters or more. |
| 2018 | ** The DATETIME should be in the ISO8601 format. For |
| 2019 | ** examples: "2007-08-18 07:21:21". You can also say "current" |
| 2020 | ** for the current version or "now" for the current time. |
| 2021 | ** |
| 2022 | ** Options: |
| 2023 | ** -n|--limit N Output the first N entries (default 20 lines). |
| 2024 | ** N=0 means no limit. |
| 2025 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1212,11 +1212,11 @@ | |
| 1212 | ** to=UUID ... to this |
| 1213 | ** shortest ... show only the shortest path |
| 1214 | ** uf=FUUID Show only check-ins that use given file version |
| 1215 | ** brbg Background color from branch name |
| 1216 | ** ubg Background color from user |
| 1217 | ** namechng Show only check-ins that have filename changes |
| 1218 | ** forks Show only forks and their children |
| 1219 | ** ym=YYYY-MM Show only events for the given year/month. |
| 1220 | ** ymd=YYYY-MM-DD Show only events on the given day |
| 1221 | ** datefmt=N Override the date format |
| 1222 | ** bisect Show the check-ins that are in the current bisect |
| @@ -2014,11 +2014,11 @@ | |
| 2014 | ** descendants | children |
| 2015 | ** ancestors | parents |
| 2016 | ** |
| 2017 | ** The CHECKIN can be any unique prefix of 4 characters or more. |
| 2018 | ** The DATETIME should be in the ISO8601 format. For |
| 2019 | ** example: "2007-08-18 07:21:21". You can also say "current" |
| 2020 | ** for the current version or "now" for the current time. |
| 2021 | ** |
| 2022 | ** Options: |
| 2023 | ** -n|--limit N Output the first N entries (default 20 lines). |
| 2024 | ** N=0 means no limit. |
| 2025 |
+27
-26
| --- src/tkt.c | ||
| +++ src/tkt.c | ||
| @@ -1060,75 +1060,76 @@ | ||
| 1060 | 1060 | ** COMMAND: ticket* |
| 1061 | 1061 | ** Usage: %fossil ticket SUBCOMMAND ... |
| 1062 | 1062 | ** |
| 1063 | 1063 | ** Run various subcommands to control tickets |
| 1064 | 1064 | ** |
| 1065 | -** %fossil ticket show (REPORTTITLE|REPORTNR) ?TICKETFILTER? ?options? | |
| 1065 | +** %fossil ticket show (REPORTTITLE|REPORTNR) ?TICKETFILTER? ?OPTIONS? | |
| 1066 | 1066 | ** |
| 1067 | -** options can be: | |
| 1068 | -** ?-l|--limit LIMITCHAR? | |
| 1069 | -** ?-q|--quote? | |
| 1070 | -** ?-R|--repository FILE? | |
| 1067 | +** Options: | |
| 1068 | +** -l|--limit LIMITCHAR | |
| 1069 | +** -q|--quote | |
| 1070 | +** -R|--repository FILE | |
| 1071 | 1071 | ** |
| 1072 | 1072 | ** Run the ticket report, identified by the report format title |
| 1073 | -** used in the gui. The data is written as flat file on stdout, | |
| 1073 | +** used in the GUI. The data is written as flat file on stdout, | |
| 1074 | 1074 | ** using TAB as separator. The separator can be changed using |
| 1075 | 1075 | ** the -l or --limit option. |
| 1076 | 1076 | ** |
| 1077 | 1077 | ** If TICKETFILTER is given on the commandline, the query is |
| 1078 | 1078 | ** limited with a new WHERE-condition. |
| 1079 | 1079 | ** example: Report lists a column # with the uuid |
| 1080 | 1080 | ** TICKETFILTER may be [#]='uuuuuuuuu' |
| 1081 | 1081 | ** example: Report only lists rows with status not open |
| 1082 | 1082 | ** TICKETFILTER: status != 'open' |
| 1083 | -** If the option -q|--quote is used, the tickets are encoded by | |
| 1084 | -** quoting special chars(space -> \\s, tab -> \\t, newline -> \\n, | |
| 1085 | -** cr -> \\r, formfeed -> \\f, vtab -> \\v, nul -> \\0, \\ -> \\\\). | |
| 1086 | -** Otherwise, the simplified encoding as on the show report raw | |
| 1087 | -** page in the gui is used. This has no effect in JSON mode. | |
| 1083 | +** | |
| 1084 | +** If --quote is used, the tickets are encoded by quoting special | |
| 1085 | +** chars (space -> \\s, tab -> \\t, newline -> \\n, cr -> \\r, | |
| 1086 | +** formfeed -> \\f, vtab -> \\v, nul -> \\0, \\ -> \\\\). | |
| 1087 | +** Otherwise, the simplified encoding as on the show report raw page | |
| 1088 | +** in the GUI is used. This has no effect in JSON mode. | |
| 1088 | 1089 | ** |
| 1089 | -** Instead of the report title its possible to use the report | |
| 1090 | -** number. Using the special report number 0 list all columns, | |
| 1091 | -** defined in the ticket table. | |
| 1090 | +** Instead of the report title it's possible to use the report | |
| 1091 | +** number; the special report number 0 lists all columns defined in | |
| 1092 | +** the ticket table. | |
| 1092 | 1093 | ** |
| 1093 | 1094 | ** %fossil ticket list fields |
| 1094 | 1095 | ** %fossil ticket ls fields |
| 1095 | 1096 | ** |
| 1096 | -** list all fields, defined for ticket in the fossil repository | |
| 1097 | +** List all fields defined for ticket in the fossil repository. | |
| 1097 | 1098 | ** |
| 1098 | 1099 | ** %fossil ticket list reports |
| 1099 | 1100 | ** %fossil ticket ls reports |
| 1100 | 1101 | ** |
| 1101 | -** list all ticket reports, defined in the fossil repository | |
| 1102 | +** List all ticket reports defined in the fossil repository. | |
| 1102 | 1103 | ** |
| 1103 | 1104 | ** %fossil ticket set TICKETUUID (FIELD VALUE)+ ?-q|--quote? |
| 1104 | 1105 | ** %fossil ticket change TICKETUUID (FIELD VALUE)+ ?-q|--quote? |
| 1105 | 1106 | ** |
| 1106 | -** change ticket identified by TICKETUUID and set the value of | |
| 1107 | -** field FIELD to VALUE. | |
| 1107 | +** Change ticket identified by TICKETUUID to set the values of | |
| 1108 | +** each field FIELD to VALUE. | |
| 1108 | 1109 | ** |
| 1109 | 1110 | ** Field names as defined in the TICKET table. By default, these |
| 1110 | 1111 | ** names include: type, status, subsystem, priority, severity, foundin, |
| 1111 | 1112 | ** resolution, title, and comment, but other field names can be added |
| 1112 | 1113 | ** or substituted in customized installations. |
| 1113 | 1114 | ** |
| 1114 | -** If you use +FIELD, the VALUE is appended to the field FIELD. | |
| 1115 | -** You can use more than one field/value pair on the commandline. | |
| 1116 | -** Using -q|--quote enables the special character decoding as | |
| 1117 | -** in "ticket show". So it's possible, to set multiline text or | |
| 1118 | -** text with special characters. | |
| 1115 | +** If you use +FIELD, the VALUE is appended to the field FIELD. You | |
| 1116 | +** can use more than one field/value pair on the commandline. Using | |
| 1117 | +** --quote enables the special character decoding as in "ticket | |
| 1118 | +** show", which allows setting multiline text or text with special | |
| 1119 | +** characters. | |
| 1119 | 1120 | ** |
| 1120 | 1121 | ** %fossil ticket add FIELD VALUE ?FIELD VALUE .. ? ?-q|--quote? |
| 1121 | 1122 | ** |
| 1122 | -** like set, but create a new ticket with the given values. | |
| 1123 | +** Like set, but create a new ticket with the given values. | |
| 1123 | 1124 | ** |
| 1124 | 1125 | ** %fossil ticket history TICKETUUID |
| 1125 | 1126 | ** |
| 1126 | 1127 | ** Show the complete change history for the ticket |
| 1127 | 1128 | ** |
| 1128 | -** The values in set|add are not validated against the definitions | |
| 1129 | -** given in "Ticket Common Script". | |
| 1129 | +** Note that the values in set|add are not validated against the | |
| 1130 | +** definitions given in "Ticket Common Script". | |
| 1130 | 1131 | */ |
| 1131 | 1132 | void ticket_cmd(void){ |
| 1132 | 1133 | int n; |
| 1133 | 1134 | const char *zUser; |
| 1134 | 1135 | const char *zDate; |
| 1135 | 1136 |
| --- src/tkt.c | |
| +++ src/tkt.c | |
| @@ -1060,75 +1060,76 @@ | |
| 1060 | ** COMMAND: ticket* |
| 1061 | ** Usage: %fossil ticket SUBCOMMAND ... |
| 1062 | ** |
| 1063 | ** Run various subcommands to control tickets |
| 1064 | ** |
| 1065 | ** %fossil ticket show (REPORTTITLE|REPORTNR) ?TICKETFILTER? ?options? |
| 1066 | ** |
| 1067 | ** options can be: |
| 1068 | ** ?-l|--limit LIMITCHAR? |
| 1069 | ** ?-q|--quote? |
| 1070 | ** ?-R|--repository FILE? |
| 1071 | ** |
| 1072 | ** Run the ticket report, identified by the report format title |
| 1073 | ** used in the gui. The data is written as flat file on stdout, |
| 1074 | ** using TAB as separator. The separator can be changed using |
| 1075 | ** the -l or --limit option. |
| 1076 | ** |
| 1077 | ** If TICKETFILTER is given on the commandline, the query is |
| 1078 | ** limited with a new WHERE-condition. |
| 1079 | ** example: Report lists a column # with the uuid |
| 1080 | ** TICKETFILTER may be [#]='uuuuuuuuu' |
| 1081 | ** example: Report only lists rows with status not open |
| 1082 | ** TICKETFILTER: status != 'open' |
| 1083 | ** If the option -q|--quote is used, the tickets are encoded by |
| 1084 | ** quoting special chars(space -> \\s, tab -> \\t, newline -> \\n, |
| 1085 | ** cr -> \\r, formfeed -> \\f, vtab -> \\v, nul -> \\0, \\ -> \\\\). |
| 1086 | ** Otherwise, the simplified encoding as on the show report raw |
| 1087 | ** page in the gui is used. This has no effect in JSON mode. |
| 1088 | ** |
| 1089 | ** Instead of the report title its possible to use the report |
| 1090 | ** number. Using the special report number 0 list all columns, |
| 1091 | ** defined in the ticket table. |
| 1092 | ** |
| 1093 | ** %fossil ticket list fields |
| 1094 | ** %fossil ticket ls fields |
| 1095 | ** |
| 1096 | ** list all fields, defined for ticket in the fossil repository |
| 1097 | ** |
| 1098 | ** %fossil ticket list reports |
| 1099 | ** %fossil ticket ls reports |
| 1100 | ** |
| 1101 | ** list all ticket reports, defined in the fossil repository |
| 1102 | ** |
| 1103 | ** %fossil ticket set TICKETUUID (FIELD VALUE)+ ?-q|--quote? |
| 1104 | ** %fossil ticket change TICKETUUID (FIELD VALUE)+ ?-q|--quote? |
| 1105 | ** |
| 1106 | ** change ticket identified by TICKETUUID and set the value of |
| 1107 | ** field FIELD to VALUE. |
| 1108 | ** |
| 1109 | ** Field names as defined in the TICKET table. By default, these |
| 1110 | ** names include: type, status, subsystem, priority, severity, foundin, |
| 1111 | ** resolution, title, and comment, but other field names can be added |
| 1112 | ** or substituted in customized installations. |
| 1113 | ** |
| 1114 | ** If you use +FIELD, the VALUE is appended to the field FIELD. |
| 1115 | ** You can use more than one field/value pair on the commandline. |
| 1116 | ** Using -q|--quote enables the special character decoding as |
| 1117 | ** in "ticket show". So it's possible, to set multiline text or |
| 1118 | ** text with special characters. |
| 1119 | ** |
| 1120 | ** %fossil ticket add FIELD VALUE ?FIELD VALUE .. ? ?-q|--quote? |
| 1121 | ** |
| 1122 | ** like set, but create a new ticket with the given values. |
| 1123 | ** |
| 1124 | ** %fossil ticket history TICKETUUID |
| 1125 | ** |
| 1126 | ** Show the complete change history for the ticket |
| 1127 | ** |
| 1128 | ** The values in set|add are not validated against the definitions |
| 1129 | ** given in "Ticket Common Script". |
| 1130 | */ |
| 1131 | void ticket_cmd(void){ |
| 1132 | int n; |
| 1133 | const char *zUser; |
| 1134 | const char *zDate; |
| 1135 |
| --- src/tkt.c | |
| +++ src/tkt.c | |
| @@ -1060,75 +1060,76 @@ | |
| 1060 | ** COMMAND: ticket* |
| 1061 | ** Usage: %fossil ticket SUBCOMMAND ... |
| 1062 | ** |
| 1063 | ** Run various subcommands to control tickets |
| 1064 | ** |
| 1065 | ** %fossil ticket show (REPORTTITLE|REPORTNR) ?TICKETFILTER? ?OPTIONS? |
| 1066 | ** |
| 1067 | ** Options: |
| 1068 | ** -l|--limit LIMITCHAR |
| 1069 | ** -q|--quote |
| 1070 | ** -R|--repository FILE |
| 1071 | ** |
| 1072 | ** Run the ticket report, identified by the report format title |
| 1073 | ** used in the GUI. The data is written as flat file on stdout, |
| 1074 | ** using TAB as separator. The separator can be changed using |
| 1075 | ** the -l or --limit option. |
| 1076 | ** |
| 1077 | ** If TICKETFILTER is given on the commandline, the query is |
| 1078 | ** limited with a new WHERE-condition. |
| 1079 | ** example: Report lists a column # with the uuid |
| 1080 | ** TICKETFILTER may be [#]='uuuuuuuuu' |
| 1081 | ** example: Report only lists rows with status not open |
| 1082 | ** TICKETFILTER: status != 'open' |
| 1083 | ** |
| 1084 | ** If --quote is used, the tickets are encoded by quoting special |
| 1085 | ** chars (space -> \\s, tab -> \\t, newline -> \\n, cr -> \\r, |
| 1086 | ** formfeed -> \\f, vtab -> \\v, nul -> \\0, \\ -> \\\\). |
| 1087 | ** Otherwise, the simplified encoding as on the show report raw page |
| 1088 | ** in the GUI is used. This has no effect in JSON mode. |
| 1089 | ** |
| 1090 | ** Instead of the report title it's possible to use the report |
| 1091 | ** number; the special report number 0 lists all columns defined in |
| 1092 | ** the ticket table. |
| 1093 | ** |
| 1094 | ** %fossil ticket list fields |
| 1095 | ** %fossil ticket ls fields |
| 1096 | ** |
| 1097 | ** List all fields defined for ticket in the fossil repository. |
| 1098 | ** |
| 1099 | ** %fossil ticket list reports |
| 1100 | ** %fossil ticket ls reports |
| 1101 | ** |
| 1102 | ** List all ticket reports defined in the fossil repository. |
| 1103 | ** |
| 1104 | ** %fossil ticket set TICKETUUID (FIELD VALUE)+ ?-q|--quote? |
| 1105 | ** %fossil ticket change TICKETUUID (FIELD VALUE)+ ?-q|--quote? |
| 1106 | ** |
| 1107 | ** Change ticket identified by TICKETUUID to set the values of |
| 1108 | ** each field FIELD to VALUE. |
| 1109 | ** |
| 1110 | ** Field names as defined in the TICKET table. By default, these |
| 1111 | ** names include: type, status, subsystem, priority, severity, foundin, |
| 1112 | ** resolution, title, and comment, but other field names can be added |
| 1113 | ** or substituted in customized installations. |
| 1114 | ** |
| 1115 | ** If you use +FIELD, the VALUE is appended to the field FIELD. You |
| 1116 | ** can use more than one field/value pair on the commandline. Using |
| 1117 | ** --quote enables the special character decoding as in "ticket |
| 1118 | ** show", which allows setting multiline text or text with special |
| 1119 | ** characters. |
| 1120 | ** |
| 1121 | ** %fossil ticket add FIELD VALUE ?FIELD VALUE .. ? ?-q|--quote? |
| 1122 | ** |
| 1123 | ** Like set, but create a new ticket with the given values. |
| 1124 | ** |
| 1125 | ** %fossil ticket history TICKETUUID |
| 1126 | ** |
| 1127 | ** Show the complete change history for the ticket |
| 1128 | ** |
| 1129 | ** Note that the values in set|add are not validated against the |
| 1130 | ** definitions given in "Ticket Common Script". |
| 1131 | */ |
| 1132 | void ticket_cmd(void){ |
| 1133 | int n; |
| 1134 | const char *zUser; |
| 1135 | const char *zDate; |
| 1136 |
+8
-9
| --- src/wiki.c | ||
| +++ src/wiki.c | ||
| @@ -1137,38 +1137,37 @@ | ||
| 1137 | 1137 | } |
| 1138 | 1138 | |
| 1139 | 1139 | /* |
| 1140 | 1140 | ** COMMAND: wiki* |
| 1141 | 1141 | ** |
| 1142 | -** Usage: ../fossil wiki (export|create|commit|list) WikiName | |
| 1142 | +** Usage: %fossil wiki (export|create|commit|list) WikiName | |
| 1143 | 1143 | ** |
| 1144 | 1144 | ** Run various subcommands to work with wiki entries or tech notes. |
| 1145 | 1145 | ** |
| 1146 | -** ../fossil wiki export ?PAGENAME? ?FILE? [-t|--technote DATETIME ] | |
| 1146 | +** %fossil wiki export ?PAGENAME? ?FILE? [-t|--technote DATETIME ] | |
| 1147 | 1147 | ** |
| 1148 | 1148 | ** Sends the latest version of either the PAGENAME wiki entry |
| 1149 | 1149 | ** or the DATETIME tech note to the given file or standard |
| 1150 | 1150 | ** output. One of PAGENAME or DATETIME must be specified. |
| 1151 | 1151 | ** |
| 1152 | -** ../fossil wiki (create|commit) PAGENAME ?FILE? ?OPTIONS? | |
| 1152 | +** %fossil wiki (create|commit) PAGENAME ?FILE? ?OPTIONS? | |
| 1153 | 1153 | ** |
| 1154 | 1154 | ** Create a new or commit changes to an existing wiki page or |
| 1155 | 1155 | ** technote from FILE or from standard input. |
| 1156 | 1156 | ** |
| 1157 | 1157 | ** Options: |
| 1158 | -** -M|--mimetype TEXT-FORMAT The mime type of the update defaulting | |
| 1159 | -** defaulting to the type used by the | |
| 1160 | -** previous version of the page or (for | |
| 1161 | -** new pages) text/x-fossil-wiki. | |
| 1158 | +** -M|--mimetype TEXT-FORMAT The mimetype of the update defaulting | |
| 1159 | +** to the type used by the previous version | |
| 1160 | +** of the page or text/x-fossil-wiki. | |
| 1162 | 1161 | ** -t|--technote DATETIME Specifies the timestamp of the technote |
| 1163 | 1162 | ** to be created or updated. |
| 1164 | 1163 | ** --technote-tags TAGS The set of tags for a technote. |
| 1165 | 1164 | ** --technote-bgcolor COLOR The color used for the technote on the |
| 1166 | 1165 | ** timeline. |
| 1167 | 1166 | ** |
| 1168 | -** ../fossil wiki list ?--technote? | |
| 1169 | -** ../fossil wiki ls ?--technote? | |
| 1167 | +** %fossil wiki list ?--technote? | |
| 1168 | +** %fossil wiki ls ?--technote? | |
| 1170 | 1169 | ** |
| 1171 | 1170 | ** Lists all wiki entries, one per line, ordered |
| 1172 | 1171 | ** case-insensitively by name. The --technote flag |
| 1173 | 1172 | ** specifies that technotes will be listed instead of |
| 1174 | 1173 | ** the wiki entries, which will be listed in order |
| 1175 | 1174 |
| --- src/wiki.c | |
| +++ src/wiki.c | |
| @@ -1137,38 +1137,37 @@ | |
| 1137 | } |
| 1138 | |
| 1139 | /* |
| 1140 | ** COMMAND: wiki* |
| 1141 | ** |
| 1142 | ** Usage: ../fossil wiki (export|create|commit|list) WikiName |
| 1143 | ** |
| 1144 | ** Run various subcommands to work with wiki entries or tech notes. |
| 1145 | ** |
| 1146 | ** ../fossil wiki export ?PAGENAME? ?FILE? [-t|--technote DATETIME ] |
| 1147 | ** |
| 1148 | ** Sends the latest version of either the PAGENAME wiki entry |
| 1149 | ** or the DATETIME tech note to the given file or standard |
| 1150 | ** output. One of PAGENAME or DATETIME must be specified. |
| 1151 | ** |
| 1152 | ** ../fossil wiki (create|commit) PAGENAME ?FILE? ?OPTIONS? |
| 1153 | ** |
| 1154 | ** Create a new or commit changes to an existing wiki page or |
| 1155 | ** technote from FILE or from standard input. |
| 1156 | ** |
| 1157 | ** Options: |
| 1158 | ** -M|--mimetype TEXT-FORMAT The mime type of the update defaulting |
| 1159 | ** defaulting to the type used by the |
| 1160 | ** previous version of the page or (for |
| 1161 | ** new pages) text/x-fossil-wiki. |
| 1162 | ** -t|--technote DATETIME Specifies the timestamp of the technote |
| 1163 | ** to be created or updated. |
| 1164 | ** --technote-tags TAGS The set of tags for a technote. |
| 1165 | ** --technote-bgcolor COLOR The color used for the technote on the |
| 1166 | ** timeline. |
| 1167 | ** |
| 1168 | ** ../fossil wiki list ?--technote? |
| 1169 | ** ../fossil wiki ls ?--technote? |
| 1170 | ** |
| 1171 | ** Lists all wiki entries, one per line, ordered |
| 1172 | ** case-insensitively by name. The --technote flag |
| 1173 | ** specifies that technotes will be listed instead of |
| 1174 | ** the wiki entries, which will be listed in order |
| 1175 |
| --- src/wiki.c | |
| +++ src/wiki.c | |
| @@ -1137,38 +1137,37 @@ | |
| 1137 | } |
| 1138 | |
| 1139 | /* |
| 1140 | ** COMMAND: wiki* |
| 1141 | ** |
| 1142 | ** Usage: %fossil wiki (export|create|commit|list) WikiName |
| 1143 | ** |
| 1144 | ** Run various subcommands to work with wiki entries or tech notes. |
| 1145 | ** |
| 1146 | ** %fossil wiki export ?PAGENAME? ?FILE? [-t|--technote DATETIME ] |
| 1147 | ** |
| 1148 | ** Sends the latest version of either the PAGENAME wiki entry |
| 1149 | ** or the DATETIME tech note to the given file or standard |
| 1150 | ** output. One of PAGENAME or DATETIME must be specified. |
| 1151 | ** |
| 1152 | ** %fossil wiki (create|commit) PAGENAME ?FILE? ?OPTIONS? |
| 1153 | ** |
| 1154 | ** Create a new or commit changes to an existing wiki page or |
| 1155 | ** technote from FILE or from standard input. |
| 1156 | ** |
| 1157 | ** Options: |
| 1158 | ** -M|--mimetype TEXT-FORMAT The mimetype of the update defaulting |
| 1159 | ** to the type used by the previous version |
| 1160 | ** of the page or text/x-fossil-wiki. |
| 1161 | ** -t|--technote DATETIME Specifies the timestamp of the technote |
| 1162 | ** to be created or updated. |
| 1163 | ** --technote-tags TAGS The set of tags for a technote. |
| 1164 | ** --technote-bgcolor COLOR The color used for the technote on the |
| 1165 | ** timeline. |
| 1166 | ** |
| 1167 | ** %fossil wiki list ?--technote? |
| 1168 | ** %fossil wiki ls ?--technote? |
| 1169 | ** |
| 1170 | ** Lists all wiki entries, one per line, ordered |
| 1171 | ** case-insensitively by name. The --technote flag |
| 1172 | ** specifies that technotes will be listed instead of |
| 1173 | ** the wiki entries, which will be listed in order |
| 1174 |
+6
-6
| --- src/winhttp.c | ||
| +++ src/winhttp.c | ||
| @@ -572,11 +572,11 @@ | ||
| 572 | 572 | return 0; |
| 573 | 573 | } |
| 574 | 574 | |
| 575 | 575 | /* dupe ifdef needed for mkindex |
| 576 | 576 | ** COMMAND: winsrv* |
| 577 | -** Usage: fossil winsrv METHOD ?SERVICE-NAME? ?OPTIONS? | |
| 577 | +** Usage: %fossil winsrv METHOD ?SERVICE-NAME? ?OPTIONS? | |
| 578 | 578 | ** |
| 579 | 579 | ** Where METHOD is one of: create delete show start stop. |
| 580 | 580 | ** |
| 581 | 581 | ** The winsrv command manages Fossil as a Windows service. This allows |
| 582 | 582 | ** (for example) Fossil to be running in the background when no user |
| @@ -583,11 +583,11 @@ | ||
| 583 | 583 | ** is logged in. |
| 584 | 584 | ** |
| 585 | 585 | ** In the following description of the methods, "Fossil-DSCM" will be |
| 586 | 586 | ** used as the default SERVICE-NAME: |
| 587 | 587 | ** |
| 588 | -** fossil winsrv create ?SERVICE-NAME? ?OPTIONS? | |
| 588 | +** %fossil winsrv create ?SERVICE-NAME? ?OPTIONS? | |
| 589 | 589 | ** |
| 590 | 590 | ** Creates a service. Available options include: |
| 591 | 591 | ** |
| 592 | 592 | ** -D|--display DISPLAY-NAME |
| 593 | 593 | ** |
| @@ -656,27 +656,27 @@ | ||
| 656 | 656 | ** --scgi |
| 657 | 657 | ** |
| 658 | 658 | ** Create an SCGI server instead of an HTTP server |
| 659 | 659 | ** |
| 660 | 660 | ** |
| 661 | -** fossil winsrv delete ?SERVICE-NAME? | |
| 661 | +** %fossil winsrv delete ?SERVICE-NAME? | |
| 662 | 662 | ** |
| 663 | 663 | ** Deletes a service. If the service is currently running, it will be |
| 664 | 664 | ** stopped first and then deleted. |
| 665 | 665 | ** |
| 666 | 666 | ** |
| 667 | -** fossil winsrv show ?SERVICE-NAME? | |
| 667 | +** %fossil winsrv show ?SERVICE-NAME? | |
| 668 | 668 | ** |
| 669 | 669 | ** Shows how the service is configured and its current state. |
| 670 | 670 | ** |
| 671 | 671 | ** |
| 672 | -** fossil winsrv start ?SERVICE-NAME? | |
| 672 | +** %fossil winsrv start ?SERVICE-NAME? | |
| 673 | 673 | ** |
| 674 | 674 | ** Start the service. |
| 675 | 675 | ** |
| 676 | 676 | ** |
| 677 | -** fossil winsrv stop ?SERVICE-NAME? | |
| 677 | +** %fossil winsrv stop ?SERVICE-NAME? | |
| 678 | 678 | ** |
| 679 | 679 | ** Stop the service. |
| 680 | 680 | ** |
| 681 | 681 | ** |
| 682 | 682 | ** NOTE: This command is available on Windows operating systems only and |
| 683 | 683 |
| --- src/winhttp.c | |
| +++ src/winhttp.c | |
| @@ -572,11 +572,11 @@ | |
| 572 | return 0; |
| 573 | } |
| 574 | |
| 575 | /* dupe ifdef needed for mkindex |
| 576 | ** COMMAND: winsrv* |
| 577 | ** Usage: fossil winsrv METHOD ?SERVICE-NAME? ?OPTIONS? |
| 578 | ** |
| 579 | ** Where METHOD is one of: create delete show start stop. |
| 580 | ** |
| 581 | ** The winsrv command manages Fossil as a Windows service. This allows |
| 582 | ** (for example) Fossil to be running in the background when no user |
| @@ -583,11 +583,11 @@ | |
| 583 | ** is logged in. |
| 584 | ** |
| 585 | ** In the following description of the methods, "Fossil-DSCM" will be |
| 586 | ** used as the default SERVICE-NAME: |
| 587 | ** |
| 588 | ** fossil winsrv create ?SERVICE-NAME? ?OPTIONS? |
| 589 | ** |
| 590 | ** Creates a service. Available options include: |
| 591 | ** |
| 592 | ** -D|--display DISPLAY-NAME |
| 593 | ** |
| @@ -656,27 +656,27 @@ | |
| 656 | ** --scgi |
| 657 | ** |
| 658 | ** Create an SCGI server instead of an HTTP server |
| 659 | ** |
| 660 | ** |
| 661 | ** fossil winsrv delete ?SERVICE-NAME? |
| 662 | ** |
| 663 | ** Deletes a service. If the service is currently running, it will be |
| 664 | ** stopped first and then deleted. |
| 665 | ** |
| 666 | ** |
| 667 | ** fossil winsrv show ?SERVICE-NAME? |
| 668 | ** |
| 669 | ** Shows how the service is configured and its current state. |
| 670 | ** |
| 671 | ** |
| 672 | ** fossil winsrv start ?SERVICE-NAME? |
| 673 | ** |
| 674 | ** Start the service. |
| 675 | ** |
| 676 | ** |
| 677 | ** fossil winsrv stop ?SERVICE-NAME? |
| 678 | ** |
| 679 | ** Stop the service. |
| 680 | ** |
| 681 | ** |
| 682 | ** NOTE: This command is available on Windows operating systems only and |
| 683 |
| --- src/winhttp.c | |
| +++ src/winhttp.c | |
| @@ -572,11 +572,11 @@ | |
| 572 | return 0; |
| 573 | } |
| 574 | |
| 575 | /* dupe ifdef needed for mkindex |
| 576 | ** COMMAND: winsrv* |
| 577 | ** Usage: %fossil winsrv METHOD ?SERVICE-NAME? ?OPTIONS? |
| 578 | ** |
| 579 | ** Where METHOD is one of: create delete show start stop. |
| 580 | ** |
| 581 | ** The winsrv command manages Fossil as a Windows service. This allows |
| 582 | ** (for example) Fossil to be running in the background when no user |
| @@ -583,11 +583,11 @@ | |
| 583 | ** is logged in. |
| 584 | ** |
| 585 | ** In the following description of the methods, "Fossil-DSCM" will be |
| 586 | ** used as the default SERVICE-NAME: |
| 587 | ** |
| 588 | ** %fossil winsrv create ?SERVICE-NAME? ?OPTIONS? |
| 589 | ** |
| 590 | ** Creates a service. Available options include: |
| 591 | ** |
| 592 | ** -D|--display DISPLAY-NAME |
| 593 | ** |
| @@ -656,27 +656,27 @@ | |
| 656 | ** --scgi |
| 657 | ** |
| 658 | ** Create an SCGI server instead of an HTTP server |
| 659 | ** |
| 660 | ** |
| 661 | ** %fossil winsrv delete ?SERVICE-NAME? |
| 662 | ** |
| 663 | ** Deletes a service. If the service is currently running, it will be |
| 664 | ** stopped first and then deleted. |
| 665 | ** |
| 666 | ** |
| 667 | ** %fossil winsrv show ?SERVICE-NAME? |
| 668 | ** |
| 669 | ** Shows how the service is configured and its current state. |
| 670 | ** |
| 671 | ** |
| 672 | ** %fossil winsrv start ?SERVICE-NAME? |
| 673 | ** |
| 674 | ** Start the service. |
| 675 | ** |
| 676 | ** |
| 677 | ** %fossil winsrv stop ?SERVICE-NAME? |
| 678 | ** |
| 679 | ** Stop the service. |
| 680 | ** |
| 681 | ** |
| 682 | ** NOTE: This command is available on Windows operating systems only and |
| 683 |