Fossil SCM
Make usage of 'Usage:' and 'or:' consistent in all help text.
Commit
8bfd9951cabf0efc40a32447fa18cefa7bc84f3f
Parent
3602486f25d1cad…
20 files changed
+1
-1
+1
-1
+1
+2
+1
-1
+7
-5
+1
-1
+2
+2
-1
+1
+4
-3
+1
+3
+5
-2
+3
-2
+2
-1
+3
-1
+1
+1
-1
+1
+1
-1
| --- src/blob.c | ||
| +++ src/blob.c | ||
| @@ -119,11 +119,11 @@ | ||
| 119 | 119 | |
| 120 | 120 | |
| 121 | 121 | /* |
| 122 | 122 | ** COMMAND: test-isspace |
| 123 | 123 | ** |
| 124 | -** Verify that the fossil_isspace() routine is working correctly but | |
| 124 | +** Verify that the fossil_isspace() routine is working correctly by | |
| 125 | 125 | ** testing it on all possible inputs. |
| 126 | 126 | */ |
| 127 | 127 | void isspace_cmd(void){ |
| 128 | 128 | int i; |
| 129 | 129 | for(i=0; i<=255; i++){ |
| 130 | 130 |
| --- src/blob.c | |
| +++ src/blob.c | |
| @@ -119,11 +119,11 @@ | |
| 119 | |
| 120 | |
| 121 | /* |
| 122 | ** COMMAND: test-isspace |
| 123 | ** |
| 124 | ** Verify that the fossil_isspace() routine is working correctly but |
| 125 | ** testing it on all possible inputs. |
| 126 | */ |
| 127 | void isspace_cmd(void){ |
| 128 | int i; |
| 129 | for(i=0; i<=255; i++){ |
| 130 |
| --- src/blob.c | |
| +++ src/blob.c | |
| @@ -119,11 +119,11 @@ | |
| 119 | |
| 120 | |
| 121 | /* |
| 122 | ** COMMAND: test-isspace |
| 123 | ** |
| 124 | ** Verify that the fossil_isspace() routine is working correctly by |
| 125 | ** testing it on all possible inputs. |
| 126 | */ |
| 127 | void isspace_cmd(void){ |
| 128 | int i; |
| 129 | for(i=0; i<=255; i++){ |
| 130 |
+1
-1
| --- src/builtin.c | ||
| +++ src/builtin.c | ||
| @@ -56,11 +56,11 @@ | ||
| 56 | 56 | } |
| 57 | 57 | |
| 58 | 58 | /* |
| 59 | 59 | ** COMMAND: test-builtin-list |
| 60 | 60 | ** |
| 61 | -** List the names and sizes of all built-in resources | |
| 61 | +** List the names and sizes of all built-in resources. | |
| 62 | 62 | */ |
| 63 | 63 | void test_builtin_list(void){ |
| 64 | 64 | int i; |
| 65 | 65 | for(i=0; i<sizeof(aBuiltinFiles)/sizeof(aBuiltinFiles[0]); i++){ |
| 66 | 66 | fossil_print("%-30s %6d\n", aBuiltinFiles[i].zName,aBuiltinFiles[i].nByte); |
| 67 | 67 |
| --- src/builtin.c | |
| +++ src/builtin.c | |
| @@ -56,11 +56,11 @@ | |
| 56 | } |
| 57 | |
| 58 | /* |
| 59 | ** COMMAND: test-builtin-list |
| 60 | ** |
| 61 | ** List the names and sizes of all built-in resources |
| 62 | */ |
| 63 | void test_builtin_list(void){ |
| 64 | int i; |
| 65 | for(i=0; i<sizeof(aBuiltinFiles)/sizeof(aBuiltinFiles[0]); i++){ |
| 66 | fossil_print("%-30s %6d\n", aBuiltinFiles[i].zName,aBuiltinFiles[i].nByte); |
| 67 |
| --- src/builtin.c | |
| +++ src/builtin.c | |
| @@ -56,11 +56,11 @@ | |
| 56 | } |
| 57 | |
| 58 | /* |
| 59 | ** COMMAND: test-builtin-list |
| 60 | ** |
| 61 | ** List the names and sizes of all built-in resources. |
| 62 | */ |
| 63 | void test_builtin_list(void){ |
| 64 | int i; |
| 65 | for(i=0; i<sizeof(aBuiltinFiles)/sizeof(aBuiltinFiles[0]); i++){ |
| 66 | fossil_print("%-30s %6d\n", aBuiltinFiles[i].zName,aBuiltinFiles[i].nByte); |
| 67 |
+1
| --- src/cache.c | ||
| +++ src/cache.c | ||
| @@ -237,10 +237,11 @@ | ||
| 237 | 237 | sqlite3_close(cacheOpen(1)); |
| 238 | 238 | } |
| 239 | 239 | |
| 240 | 240 | /* |
| 241 | 241 | ** COMMAND: cache* |
| 242 | +** | |
| 242 | 243 | ** Usage: %fossil cache SUBCOMMAND |
| 243 | 244 | ** |
| 244 | 245 | ** Manage the cache used for potentially expensive web pages such as |
| 245 | 246 | ** /zip and /tarball. SUBCOMMAND can be: |
| 246 | 247 | ** |
| 247 | 248 |
| --- src/cache.c | |
| +++ src/cache.c | |
| @@ -237,10 +237,11 @@ | |
| 237 | sqlite3_close(cacheOpen(1)); |
| 238 | } |
| 239 | |
| 240 | /* |
| 241 | ** COMMAND: cache* |
| 242 | ** Usage: %fossil cache SUBCOMMAND |
| 243 | ** |
| 244 | ** Manage the cache used for potentially expensive web pages such as |
| 245 | ** /zip and /tarball. SUBCOMMAND can be: |
| 246 | ** |
| 247 |
| --- src/cache.c | |
| +++ src/cache.c | |
| @@ -237,10 +237,11 @@ | |
| 237 | sqlite3_close(cacheOpen(1)); |
| 238 | } |
| 239 | |
| 240 | /* |
| 241 | ** COMMAND: cache* |
| 242 | ** |
| 243 | ** Usage: %fossil cache SUBCOMMAND |
| 244 | ** |
| 245 | ** Manage the cache used for potentially expensive web pages such as |
| 246 | ** /zip and /tarball. SUBCOMMAND can be: |
| 247 | ** |
| 248 |
+2
| --- src/checkin.c | ||
| +++ src/checkin.c | ||
| @@ -546,10 +546,11 @@ | ||
| 546 | 546 | } |
| 547 | 547 | } |
| 548 | 548 | |
| 549 | 549 | /* |
| 550 | 550 | ** COMMAND: extras |
| 551 | +** | |
| 551 | 552 | ** Usage: %fossil extras ?OPTIONS? ?PATH1 ...? |
| 552 | 553 | ** |
| 553 | 554 | ** Print a list of all files in the source tree that are not part of |
| 554 | 555 | ** the current checkout. See also the "clean" command. If paths are |
| 555 | 556 | ** specified, only files in the given directories will be listed. |
| @@ -631,10 +632,11 @@ | ||
| 631 | 632 | db_finalize(&q); |
| 632 | 633 | } |
| 633 | 634 | |
| 634 | 635 | /* |
| 635 | 636 | ** COMMAND: clean |
| 637 | +** | |
| 636 | 638 | ** Usage: %fossil clean ?OPTIONS? ?PATH ...? |
| 637 | 639 | ** |
| 638 | 640 | ** Delete all "extra" files in the source tree. "Extra" files are |
| 639 | 641 | ** files that are not officially part of the checkout. This operation |
| 640 | 642 | ** cannot be undone. If one or more PATH arguments appear, then only |
| 641 | 643 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -546,10 +546,11 @@ | |
| 546 | } |
| 547 | } |
| 548 | |
| 549 | /* |
| 550 | ** COMMAND: extras |
| 551 | ** Usage: %fossil extras ?OPTIONS? ?PATH1 ...? |
| 552 | ** |
| 553 | ** Print a list of all files in the source tree that are not part of |
| 554 | ** the current checkout. See also the "clean" command. If paths are |
| 555 | ** specified, only files in the given directories will be listed. |
| @@ -631,10 +632,11 @@ | |
| 631 | db_finalize(&q); |
| 632 | } |
| 633 | |
| 634 | /* |
| 635 | ** COMMAND: clean |
| 636 | ** Usage: %fossil clean ?OPTIONS? ?PATH ...? |
| 637 | ** |
| 638 | ** Delete all "extra" files in the source tree. "Extra" files are |
| 639 | ** files that are not officially part of the checkout. This operation |
| 640 | ** cannot be undone. If one or more PATH arguments appear, then only |
| 641 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -546,10 +546,11 @@ | |
| 546 | } |
| 547 | } |
| 548 | |
| 549 | /* |
| 550 | ** COMMAND: extras |
| 551 | ** |
| 552 | ** Usage: %fossil extras ?OPTIONS? ?PATH1 ...? |
| 553 | ** |
| 554 | ** Print a list of all files in the source tree that are not part of |
| 555 | ** the current checkout. See also the "clean" command. If paths are |
| 556 | ** specified, only files in the given directories will be listed. |
| @@ -631,10 +632,11 @@ | |
| 632 | db_finalize(&q); |
| 633 | } |
| 634 | |
| 635 | /* |
| 636 | ** COMMAND: clean |
| 637 | ** |
| 638 | ** Usage: %fossil clean ?OPTIONS? ?PATH ...? |
| 639 | ** |
| 640 | ** Delete all "extra" files in the source tree. "Extra" files are |
| 641 | ** files that are not officially part of the checkout. This operation |
| 642 | ** cannot be undone. If one or more PATH arguments appear, then only |
| 643 |
+1
-1
| --- src/content.c | ||
| +++ src/content.c | ||
| @@ -960,11 +960,11 @@ | ||
| 960 | 960 | } |
| 961 | 961 | |
| 962 | 962 | /* |
| 963 | 963 | ** COMMAND: test-orphans |
| 964 | 964 | ** |
| 965 | -** Search the repository for orphaned artifacts | |
| 965 | +** Search the repository for orphaned artifacts. | |
| 966 | 966 | */ |
| 967 | 967 | void test_orphans(void){ |
| 968 | 968 | Stmt q; |
| 969 | 969 | int cnt = 0; |
| 970 | 970 | |
| 971 | 971 |
| --- src/content.c | |
| +++ src/content.c | |
| @@ -960,11 +960,11 @@ | |
| 960 | } |
| 961 | |
| 962 | /* |
| 963 | ** COMMAND: test-orphans |
| 964 | ** |
| 965 | ** Search the repository for orphaned artifacts |
| 966 | */ |
| 967 | void test_orphans(void){ |
| 968 | Stmt q; |
| 969 | int cnt = 0; |
| 970 | |
| 971 |
| --- src/content.c | |
| +++ src/content.c | |
| @@ -960,11 +960,11 @@ | |
| 960 | } |
| 961 | |
| 962 | /* |
| 963 | ** COMMAND: test-orphans |
| 964 | ** |
| 965 | ** Search the repository for orphaned artifacts. |
| 966 | */ |
| 967 | void test_orphans(void){ |
| 968 | Stmt q; |
| 969 | int cnt = 0; |
| 970 | |
| 971 |
M
src/db.c
+7
-5
| --- src/db.c | ||
| +++ src/db.c | ||
| @@ -1689,11 +1689,11 @@ | ||
| 1689 | 1689 | /* |
| 1690 | 1690 | ** COMMAND: new* |
| 1691 | 1691 | ** COMMAND: init |
| 1692 | 1692 | ** |
| 1693 | 1693 | ** Usage: %fossil new ?OPTIONS? FILENAME |
| 1694 | -** Or: %fossil init ?OPTIONS? FILENAME | |
| 1694 | +** or: %fossil init ?OPTIONS? FILENAME | |
| 1695 | 1695 | ** |
| 1696 | 1696 | ** Create a repository for a new project in the file named FILENAME. |
| 1697 | 1697 | ** This command is distinct from "clone". The "clone" command makes |
| 1698 | 1698 | ** a copy of an existing project. This command starts a new project. |
| 1699 | 1699 | ** |
| @@ -2579,12 +2579,12 @@ | ||
| 2579 | 2579 | |
| 2580 | 2580 | /* |
| 2581 | 2581 | ** COMMAND: settings |
| 2582 | 2582 | ** COMMAND: unset* |
| 2583 | 2583 | ** |
| 2584 | -** %fossil settings ?PROPERTY? ?VALUE? ?OPTIONS? | |
| 2585 | -** %fossil unset PROPERTY ?OPTIONS? | |
| 2584 | +** Usage: %fossil settings ?PROPERTY? ?VALUE? ?OPTIONS? | |
| 2585 | +** or: %fossil unset PROPERTY ?OPTIONS? | |
| 2586 | 2586 | ** |
| 2587 | 2587 | ** The "settings" command with no arguments lists all properties and their |
| 2588 | 2588 | ** values. With just a property name it shows the value of that property. |
| 2589 | 2589 | ** With a value argument it changes the property for the current repository. |
| 2590 | 2590 | ** |
| @@ -2931,11 +2931,12 @@ | ||
| 2931 | 2931 | return sqlite3_mprintf("%.1f years", rSpan); |
| 2932 | 2932 | } |
| 2933 | 2933 | |
| 2934 | 2934 | /* |
| 2935 | 2935 | ** COMMAND: test-timespan |
| 2936 | -** %fossil test-timespan TIMESTAMP | |
| 2936 | +** | |
| 2937 | +** Usage: %fossil test-timespan TIMESTAMP | |
| 2937 | 2938 | ** |
| 2938 | 2939 | ** Print the approximate span of time from now to TIMESTAMP. |
| 2939 | 2940 | */ |
| 2940 | 2941 | void test_timespan_cmd(void){ |
| 2941 | 2942 | double rDiff; |
| @@ -2947,11 +2948,12 @@ | ||
| 2947 | 2948 | g.db = 0; |
| 2948 | 2949 | } |
| 2949 | 2950 | |
| 2950 | 2951 | /* |
| 2951 | 2952 | ** COMMAND: test-without-rowid |
| 2952 | -** %fossil test-without-rowid FILENAME... | |
| 2953 | +** | |
| 2954 | +** Usage: %fossil test-without-rowid FILENAME... | |
| 2953 | 2955 | ** |
| 2954 | 2956 | ** Change the Fossil repository FILENAME to make use of the WITHOUT ROWID |
| 2955 | 2957 | ** optimization. FILENAME can also be the ~/.fossil file or a local |
| 2956 | 2958 | ** .fslckout or _FOSSIL_ file. |
| 2957 | 2959 | ** |
| 2958 | 2960 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -1689,11 +1689,11 @@ | |
| 1689 | /* |
| 1690 | ** COMMAND: new* |
| 1691 | ** COMMAND: init |
| 1692 | ** |
| 1693 | ** Usage: %fossil new ?OPTIONS? FILENAME |
| 1694 | ** Or: %fossil init ?OPTIONS? FILENAME |
| 1695 | ** |
| 1696 | ** Create a repository for a new project in the file named FILENAME. |
| 1697 | ** This command is distinct from "clone". The "clone" command makes |
| 1698 | ** a copy of an existing project. This command starts a new project. |
| 1699 | ** |
| @@ -2579,12 +2579,12 @@ | |
| 2579 | |
| 2580 | /* |
| 2581 | ** COMMAND: settings |
| 2582 | ** COMMAND: unset* |
| 2583 | ** |
| 2584 | ** %fossil settings ?PROPERTY? ?VALUE? ?OPTIONS? |
| 2585 | ** %fossil unset PROPERTY ?OPTIONS? |
| 2586 | ** |
| 2587 | ** The "settings" command with no arguments lists all properties and their |
| 2588 | ** values. With just a property name it shows the value of that property. |
| 2589 | ** With a value argument it changes the property for the current repository. |
| 2590 | ** |
| @@ -2931,11 +2931,12 @@ | |
| 2931 | return sqlite3_mprintf("%.1f years", rSpan); |
| 2932 | } |
| 2933 | |
| 2934 | /* |
| 2935 | ** COMMAND: test-timespan |
| 2936 | ** %fossil test-timespan TIMESTAMP |
| 2937 | ** |
| 2938 | ** Print the approximate span of time from now to TIMESTAMP. |
| 2939 | */ |
| 2940 | void test_timespan_cmd(void){ |
| 2941 | double rDiff; |
| @@ -2947,11 +2948,12 @@ | |
| 2947 | g.db = 0; |
| 2948 | } |
| 2949 | |
| 2950 | /* |
| 2951 | ** COMMAND: test-without-rowid |
| 2952 | ** %fossil test-without-rowid FILENAME... |
| 2953 | ** |
| 2954 | ** Change the Fossil repository FILENAME to make use of the WITHOUT ROWID |
| 2955 | ** optimization. FILENAME can also be the ~/.fossil file or a local |
| 2956 | ** .fslckout or _FOSSIL_ file. |
| 2957 | ** |
| 2958 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -1689,11 +1689,11 @@ | |
| 1689 | /* |
| 1690 | ** COMMAND: new* |
| 1691 | ** COMMAND: init |
| 1692 | ** |
| 1693 | ** Usage: %fossil new ?OPTIONS? FILENAME |
| 1694 | ** or: %fossil init ?OPTIONS? FILENAME |
| 1695 | ** |
| 1696 | ** Create a repository for a new project in the file named FILENAME. |
| 1697 | ** This command is distinct from "clone". The "clone" command makes |
| 1698 | ** a copy of an existing project. This command starts a new project. |
| 1699 | ** |
| @@ -2579,12 +2579,12 @@ | |
| 2579 | |
| 2580 | /* |
| 2581 | ** COMMAND: settings |
| 2582 | ** COMMAND: unset* |
| 2583 | ** |
| 2584 | ** Usage: %fossil settings ?PROPERTY? ?VALUE? ?OPTIONS? |
| 2585 | ** or: %fossil unset PROPERTY ?OPTIONS? |
| 2586 | ** |
| 2587 | ** The "settings" command with no arguments lists all properties and their |
| 2588 | ** values. With just a property name it shows the value of that property. |
| 2589 | ** With a value argument it changes the property for the current repository. |
| 2590 | ** |
| @@ -2931,11 +2931,12 @@ | |
| 2931 | return sqlite3_mprintf("%.1f years", rSpan); |
| 2932 | } |
| 2933 | |
| 2934 | /* |
| 2935 | ** COMMAND: test-timespan |
| 2936 | ** |
| 2937 | ** Usage: %fossil test-timespan TIMESTAMP |
| 2938 | ** |
| 2939 | ** Print the approximate span of time from now to TIMESTAMP. |
| 2940 | */ |
| 2941 | void test_timespan_cmd(void){ |
| 2942 | double rDiff; |
| @@ -2947,11 +2948,12 @@ | |
| 2948 | g.db = 0; |
| 2949 | } |
| 2950 | |
| 2951 | /* |
| 2952 | ** COMMAND: test-without-rowid |
| 2953 | ** |
| 2954 | ** Usage: %fossil test-without-rowid FILENAME... |
| 2955 | ** |
| 2956 | ** Change the Fossil repository FILENAME to make use of the WITHOUT ROWID |
| 2957 | ** optimization. FILENAME can also be the ~/.fossil file or a local |
| 2958 | ** .fslckout or _FOSSIL_ file. |
| 2959 | ** |
| 2960 |
+1
-1
| --- src/diff.c | ||
| +++ src/diff.c | ||
| @@ -2435,11 +2435,11 @@ | ||
| 2435 | 2435 | /* |
| 2436 | 2436 | ** COMMAND: annotate |
| 2437 | 2437 | ** COMMAND: blame |
| 2438 | 2438 | ** COMMAND: praise |
| 2439 | 2439 | ** |
| 2440 | -** %fossil (annotate|blame|praise) ?OPTIONS? FILENAME | |
| 2440 | +** Usage: %fossil (annotate|blame|praise) ?OPTIONS? FILENAME | |
| 2441 | 2441 | ** |
| 2442 | 2442 | ** Output the text of a file with markings to show when each line of |
| 2443 | 2443 | ** the file was last modified. The "annotate" command shows line numbers |
| 2444 | 2444 | ** and omits the username. The "blame" and "praise" commands show the user |
| 2445 | 2445 | ** who made each check-in and omits the line number. |
| 2446 | 2446 |
| --- src/diff.c | |
| +++ src/diff.c | |
| @@ -2435,11 +2435,11 @@ | |
| 2435 | /* |
| 2436 | ** COMMAND: annotate |
| 2437 | ** COMMAND: blame |
| 2438 | ** COMMAND: praise |
| 2439 | ** |
| 2440 | ** %fossil (annotate|blame|praise) ?OPTIONS? FILENAME |
| 2441 | ** |
| 2442 | ** Output the text of a file with markings to show when each line of |
| 2443 | ** the file was last modified. The "annotate" command shows line numbers |
| 2444 | ** and omits the username. The "blame" and "praise" commands show the user |
| 2445 | ** who made each check-in and omits the line number. |
| 2446 |
| --- src/diff.c | |
| +++ src/diff.c | |
| @@ -2435,11 +2435,11 @@ | |
| 2435 | /* |
| 2436 | ** COMMAND: annotate |
| 2437 | ** COMMAND: blame |
| 2438 | ** COMMAND: praise |
| 2439 | ** |
| 2440 | ** Usage: %fossil (annotate|blame|praise) ?OPTIONS? FILENAME |
| 2441 | ** |
| 2442 | ** Output the text of a file with markings to show when each line of |
| 2443 | ** the file was last modified. The "annotate" command shows line numbers |
| 2444 | ** and omits the username. The "blame" and "praise" commands show the user |
| 2445 | ** who made each check-in and omits the line number. |
| 2446 |
+2
| --- src/encode.c | ||
| +++ src/encode.c | ||
| @@ -367,10 +367,11 @@ | ||
| 367 | 367 | return z64; |
| 368 | 368 | } |
| 369 | 369 | |
| 370 | 370 | /* |
| 371 | 371 | ** COMMAND: test-encode64 |
| 372 | +** | |
| 372 | 373 | ** Usage: %fossil test-encode64 STRING |
| 373 | 374 | */ |
| 374 | 375 | void test_encode64_cmd(void){ |
| 375 | 376 | char *z; |
| 376 | 377 | int i; |
| @@ -432,10 +433,11 @@ | ||
| 432 | 433 | return zData; |
| 433 | 434 | } |
| 434 | 435 | |
| 435 | 436 | /* |
| 436 | 437 | ** COMMAND: test-decode64 |
| 438 | +** | |
| 437 | 439 | ** Usage: %fossil test-decode64 STRING |
| 438 | 440 | */ |
| 439 | 441 | void test_decode64_cmd(void){ |
| 440 | 442 | char *z; |
| 441 | 443 | int i, n; |
| 442 | 444 |
| --- src/encode.c | |
| +++ src/encode.c | |
| @@ -367,10 +367,11 @@ | |
| 367 | return z64; |
| 368 | } |
| 369 | |
| 370 | /* |
| 371 | ** COMMAND: test-encode64 |
| 372 | ** Usage: %fossil test-encode64 STRING |
| 373 | */ |
| 374 | void test_encode64_cmd(void){ |
| 375 | char *z; |
| 376 | int i; |
| @@ -432,10 +433,11 @@ | |
| 432 | return zData; |
| 433 | } |
| 434 | |
| 435 | /* |
| 436 | ** COMMAND: test-decode64 |
| 437 | ** Usage: %fossil test-decode64 STRING |
| 438 | */ |
| 439 | void test_decode64_cmd(void){ |
| 440 | char *z; |
| 441 | int i, n; |
| 442 |
| --- src/encode.c | |
| +++ src/encode.c | |
| @@ -367,10 +367,11 @@ | |
| 367 | return z64; |
| 368 | } |
| 369 | |
| 370 | /* |
| 371 | ** COMMAND: test-encode64 |
| 372 | ** |
| 373 | ** Usage: %fossil test-encode64 STRING |
| 374 | */ |
| 375 | void test_encode64_cmd(void){ |
| 376 | char *z; |
| 377 | int i; |
| @@ -432,10 +433,11 @@ | |
| 433 | return zData; |
| 434 | } |
| 435 | |
| 436 | /* |
| 437 | ** COMMAND: test-decode64 |
| 438 | ** |
| 439 | ** Usage: %fossil test-decode64 STRING |
| 440 | */ |
| 441 | void test_decode64_cmd(void){ |
| 442 | char *z; |
| 443 | int i, n; |
| 444 |
+2
-1
| --- src/file.c | ||
| +++ src/file.c | ||
| @@ -822,11 +822,11 @@ | ||
| 822 | 822 | } |
| 823 | 823 | |
| 824 | 824 | /* |
| 825 | 825 | ** COMMAND: test-simplify-name |
| 826 | 826 | ** |
| 827 | -** %fossil test-simplify-name FILENAME... | |
| 827 | +** Usage: %fossil test-simplify-name FILENAME... | |
| 828 | 828 | ** |
| 829 | 829 | ** Print the simplified versions of each FILENAME. |
| 830 | 830 | */ |
| 831 | 831 | void cmd_test_simplify_name(void){ |
| 832 | 832 | int i; |
| @@ -923,10 +923,11 @@ | ||
| 923 | 923 | blob_size(pOut), slash)); |
| 924 | 924 | } |
| 925 | 925 | |
| 926 | 926 | /* |
| 927 | 927 | ** COMMAND: test-canonical-name |
| 928 | +** | |
| 928 | 929 | ** Usage: %fossil test-canonical-name FILENAME... |
| 929 | 930 | ** |
| 930 | 931 | ** Test the operation of the canonical name generator. |
| 931 | 932 | ** Also test Fossil's ability to measure attributes of a file. |
| 932 | 933 | */ |
| 933 | 934 |
| --- src/file.c | |
| +++ src/file.c | |
| @@ -822,11 +822,11 @@ | |
| 822 | } |
| 823 | |
| 824 | /* |
| 825 | ** COMMAND: test-simplify-name |
| 826 | ** |
| 827 | ** %fossil test-simplify-name FILENAME... |
| 828 | ** |
| 829 | ** Print the simplified versions of each FILENAME. |
| 830 | */ |
| 831 | void cmd_test_simplify_name(void){ |
| 832 | int i; |
| @@ -923,10 +923,11 @@ | |
| 923 | blob_size(pOut), slash)); |
| 924 | } |
| 925 | |
| 926 | /* |
| 927 | ** COMMAND: test-canonical-name |
| 928 | ** Usage: %fossil test-canonical-name FILENAME... |
| 929 | ** |
| 930 | ** Test the operation of the canonical name generator. |
| 931 | ** Also test Fossil's ability to measure attributes of a file. |
| 932 | */ |
| 933 |
| --- src/file.c | |
| +++ src/file.c | |
| @@ -822,11 +822,11 @@ | |
| 822 | } |
| 823 | |
| 824 | /* |
| 825 | ** COMMAND: test-simplify-name |
| 826 | ** |
| 827 | ** Usage: %fossil test-simplify-name FILENAME... |
| 828 | ** |
| 829 | ** Print the simplified versions of each FILENAME. |
| 830 | */ |
| 831 | void cmd_test_simplify_name(void){ |
| 832 | int i; |
| @@ -923,10 +923,11 @@ | |
| 923 | blob_size(pOut), slash)); |
| 924 | } |
| 925 | |
| 926 | /* |
| 927 | ** COMMAND: test-canonical-name |
| 928 | ** |
| 929 | ** Usage: %fossil test-canonical-name FILENAME... |
| 930 | ** |
| 931 | ** Test the operation of the canonical name generator. |
| 932 | ** Also test Fossil's ability to measure attributes of a file. |
| 933 | */ |
| 934 |
+1
| --- src/loadctrl.c | ||
| +++ src/loadctrl.c | ||
| @@ -35,10 +35,11 @@ | ||
| 35 | 35 | return 0.0; |
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | /* |
| 39 | 39 | ** COMMAND: test-loadavg |
| 40 | +** | |
| 40 | 41 | ** %fossil test-loadavg |
| 41 | 42 | ** |
| 42 | 43 | ** Print the load average on the host machine. |
| 43 | 44 | */ |
| 44 | 45 | void loadavg_test_cmd(void){ |
| 45 | 46 |
| --- src/loadctrl.c | |
| +++ src/loadctrl.c | |
| @@ -35,10 +35,11 @@ | |
| 35 | return 0.0; |
| 36 | } |
| 37 | |
| 38 | /* |
| 39 | ** COMMAND: test-loadavg |
| 40 | ** %fossil test-loadavg |
| 41 | ** |
| 42 | ** Print the load average on the host machine. |
| 43 | */ |
| 44 | void loadavg_test_cmd(void){ |
| 45 |
| --- src/loadctrl.c | |
| +++ src/loadctrl.c | |
| @@ -35,10 +35,11 @@ | |
| 35 | return 0.0; |
| 36 | } |
| 37 | |
| 38 | /* |
| 39 | ** COMMAND: test-loadavg |
| 40 | ** |
| 41 | ** %fossil test-loadavg |
| 42 | ** |
| 43 | ** Print the load average on the host machine. |
| 44 | */ |
| 45 | void loadavg_test_cmd(void){ |
| 46 |
+4
-3
| --- src/main.c | ||
| +++ src/main.c | ||
| @@ -985,11 +985,11 @@ | ||
| 985 | 985 | } |
| 986 | 986 | |
| 987 | 987 | /* |
| 988 | 988 | ** COMMAND: test-list-webpage |
| 989 | 989 | ** |
| 990 | -** List all web pages | |
| 990 | +** List all web pages. | |
| 991 | 991 | */ |
| 992 | 992 | void cmd_test_webpage_list(void){ |
| 993 | 993 | int i, nCmd; |
| 994 | 994 | const char *aCmd[count(aCommand)]; |
| 995 | 995 | for(i=nCmd=0; i<count(aCommand); i++){ |
| @@ -1225,11 +1225,12 @@ | ||
| 1225 | 1225 | putchar('\n'); |
| 1226 | 1226 | } |
| 1227 | 1227 | |
| 1228 | 1228 | /* |
| 1229 | 1229 | ** COMMAND: test-all-help |
| 1230 | -** %fossil test-all-help ?OPTIONS? | |
| 1230 | +** | |
| 1231 | +** Usage: %fossil test-all-help ?OPTIONS? | |
| 1231 | 1232 | ** |
| 1232 | 1233 | ** Show help text for commands and pages. Useful for proof-reading. |
| 1233 | 1234 | ** Defaults to just the CLI commands. Specify --www to see only the |
| 1234 | 1235 | ** web pages, or --everything to see both commands and pages. |
| 1235 | 1236 | ** |
| @@ -2449,11 +2450,11 @@ | ||
| 2449 | 2450 | /* |
| 2450 | 2451 | ** COMMAND: server* |
| 2451 | 2452 | ** COMMAND: ui |
| 2452 | 2453 | ** |
| 2453 | 2454 | ** Usage: %fossil server ?OPTIONS? ?REPOSITORY? |
| 2454 | -** Or: %fossil ui ?OPTIONS? ?REPOSITORY? | |
| 2455 | +** or: %fossil ui ?OPTIONS? ?REPOSITORY? | |
| 2455 | 2456 | ** |
| 2456 | 2457 | ** Open a socket and begin listening and responding to HTTP requests on |
| 2457 | 2458 | ** TCP port 8080, or on any other TCP port defined by the -P or |
| 2458 | 2459 | ** --port option. The optional argument is the name of the repository. |
| 2459 | 2460 | ** The repository argument may be omitted if the working directory is |
| 2460 | 2461 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -985,11 +985,11 @@ | |
| 985 | } |
| 986 | |
| 987 | /* |
| 988 | ** COMMAND: test-list-webpage |
| 989 | ** |
| 990 | ** List all web pages |
| 991 | */ |
| 992 | void cmd_test_webpage_list(void){ |
| 993 | int i, nCmd; |
| 994 | const char *aCmd[count(aCommand)]; |
| 995 | for(i=nCmd=0; i<count(aCommand); i++){ |
| @@ -1225,11 +1225,12 @@ | |
| 1225 | putchar('\n'); |
| 1226 | } |
| 1227 | |
| 1228 | /* |
| 1229 | ** COMMAND: test-all-help |
| 1230 | ** %fossil test-all-help ?OPTIONS? |
| 1231 | ** |
| 1232 | ** Show help text for commands and pages. Useful for proof-reading. |
| 1233 | ** Defaults to just the CLI commands. Specify --www to see only the |
| 1234 | ** web pages, or --everything to see both commands and pages. |
| 1235 | ** |
| @@ -2449,11 +2450,11 @@ | |
| 2449 | /* |
| 2450 | ** COMMAND: server* |
| 2451 | ** COMMAND: ui |
| 2452 | ** |
| 2453 | ** Usage: %fossil server ?OPTIONS? ?REPOSITORY? |
| 2454 | ** Or: %fossil ui ?OPTIONS? ?REPOSITORY? |
| 2455 | ** |
| 2456 | ** Open a socket and begin listening and responding to HTTP requests on |
| 2457 | ** TCP port 8080, or on any other TCP port defined by the -P or |
| 2458 | ** --port option. The optional argument is the name of the repository. |
| 2459 | ** The repository argument may be omitted if the working directory is |
| 2460 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -985,11 +985,11 @@ | |
| 985 | } |
| 986 | |
| 987 | /* |
| 988 | ** COMMAND: test-list-webpage |
| 989 | ** |
| 990 | ** List all web pages. |
| 991 | */ |
| 992 | void cmd_test_webpage_list(void){ |
| 993 | int i, nCmd; |
| 994 | const char *aCmd[count(aCommand)]; |
| 995 | for(i=nCmd=0; i<count(aCommand); i++){ |
| @@ -1225,11 +1225,12 @@ | |
| 1225 | putchar('\n'); |
| 1226 | } |
| 1227 | |
| 1228 | /* |
| 1229 | ** COMMAND: test-all-help |
| 1230 | ** |
| 1231 | ** Usage: %fossil test-all-help ?OPTIONS? |
| 1232 | ** |
| 1233 | ** Show help text for commands and pages. Useful for proof-reading. |
| 1234 | ** Defaults to just the CLI commands. Specify --www to see only the |
| 1235 | ** web pages, or --everything to see both commands and pages. |
| 1236 | ** |
| @@ -2449,11 +2450,11 @@ | |
| 2450 | /* |
| 2451 | ** COMMAND: server* |
| 2452 | ** COMMAND: ui |
| 2453 | ** |
| 2454 | ** Usage: %fossil server ?OPTIONS? ?REPOSITORY? |
| 2455 | ** or: %fossil ui ?OPTIONS? ?REPOSITORY? |
| 2456 | ** |
| 2457 | ** Open a socket and begin listening and responding to HTTP requests on |
| 2458 | ** TCP port 8080, or on any other TCP port defined by the -P or |
| 2459 | ** --port option. The optional argument is the name of the repository. |
| 2460 | ** The repository argument may be omitted if the working directory is |
| 2461 |
+1
| --- src/md5.c | ||
| +++ src/md5.c | ||
| @@ -422,10 +422,11 @@ | ||
| 422 | 422 | } |
| 423 | 423 | |
| 424 | 424 | |
| 425 | 425 | /* |
| 426 | 426 | ** COMMAND: md5sum* |
| 427 | +** | |
| 427 | 428 | ** Usage: %fossil md5sum FILES.... |
| 428 | 429 | ** |
| 429 | 430 | ** Compute an MD5 checksum of all files named on the command-line. |
| 430 | 431 | ** If a file is named "-" then content is read from standard input. |
| 431 | 432 | */ |
| 432 | 433 |
| --- src/md5.c | |
| +++ src/md5.c | |
| @@ -422,10 +422,11 @@ | |
| 422 | } |
| 423 | |
| 424 | |
| 425 | /* |
| 426 | ** COMMAND: md5sum* |
| 427 | ** Usage: %fossil md5sum FILES.... |
| 428 | ** |
| 429 | ** Compute an MD5 checksum of all files named on the command-line. |
| 430 | ** If a file is named "-" then content is read from standard input. |
| 431 | */ |
| 432 |
| --- src/md5.c | |
| +++ src/md5.c | |
| @@ -422,10 +422,11 @@ | |
| 422 | } |
| 423 | |
| 424 | |
| 425 | /* |
| 426 | ** COMMAND: md5sum* |
| 427 | ** |
| 428 | ** Usage: %fossil md5sum FILES.... |
| 429 | ** |
| 430 | ** Compute an MD5 checksum of all files named on the command-line. |
| 431 | ** If a file is named "-" then content is read from standard input. |
| 432 | */ |
| 433 |
+3
| --- src/name.c | ||
| +++ src/name.c | ||
| @@ -665,10 +665,11 @@ | ||
| 665 | 665 | db_finalize(&q); |
| 666 | 666 | } |
| 667 | 667 | |
| 668 | 668 | /* |
| 669 | 669 | ** COMMAND: whatis* |
| 670 | +** | |
| 670 | 671 | ** Usage: %fossil whatis NAME |
| 671 | 672 | ** |
| 672 | 673 | ** Resolve the symbol NAME into its canonical 40-character SHA1-hash |
| 673 | 674 | ** artifact name and provide a description of what role that artifact |
| 674 | 675 | ** plays. |
| @@ -720,10 +721,11 @@ | ||
| 720 | 721 | } |
| 721 | 722 | } |
| 722 | 723 | |
| 723 | 724 | /* |
| 724 | 725 | ** COMMAND: test-whatis-all |
| 726 | +** | |
| 725 | 727 | ** Usage: %fossil test-whatis-all |
| 726 | 728 | ** |
| 727 | 729 | ** Show "whatis" information about every artifact in the repository |
| 728 | 730 | */ |
| 729 | 731 | void test_whatis_all_cmd(void){ |
| @@ -739,10 +741,11 @@ | ||
| 739 | 741 | } |
| 740 | 742 | |
| 741 | 743 | |
| 742 | 744 | /* |
| 743 | 745 | ** COMMAND: test-ambiguous |
| 746 | +** | |
| 744 | 747 | ** Usage: %fossil test-ambiguous [--minsize N] |
| 745 | 748 | ** |
| 746 | 749 | ** Show a list of ambiguous SHA1-hash abbreviations of N characters or |
| 747 | 750 | ** more where N defaults to 4. Change N to a different value using |
| 748 | 751 | ** the "--minsize N" command-line option. |
| 749 | 752 |
| --- src/name.c | |
| +++ src/name.c | |
| @@ -665,10 +665,11 @@ | |
| 665 | db_finalize(&q); |
| 666 | } |
| 667 | |
| 668 | /* |
| 669 | ** COMMAND: whatis* |
| 670 | ** Usage: %fossil whatis NAME |
| 671 | ** |
| 672 | ** Resolve the symbol NAME into its canonical 40-character SHA1-hash |
| 673 | ** artifact name and provide a description of what role that artifact |
| 674 | ** plays. |
| @@ -720,10 +721,11 @@ | |
| 720 | } |
| 721 | } |
| 722 | |
| 723 | /* |
| 724 | ** COMMAND: test-whatis-all |
| 725 | ** Usage: %fossil test-whatis-all |
| 726 | ** |
| 727 | ** Show "whatis" information about every artifact in the repository |
| 728 | */ |
| 729 | void test_whatis_all_cmd(void){ |
| @@ -739,10 +741,11 @@ | |
| 739 | } |
| 740 | |
| 741 | |
| 742 | /* |
| 743 | ** COMMAND: test-ambiguous |
| 744 | ** Usage: %fossil test-ambiguous [--minsize N] |
| 745 | ** |
| 746 | ** Show a list of ambiguous SHA1-hash abbreviations of N characters or |
| 747 | ** more where N defaults to 4. Change N to a different value using |
| 748 | ** the "--minsize N" command-line option. |
| 749 |
| --- src/name.c | |
| +++ src/name.c | |
| @@ -665,10 +665,11 @@ | |
| 665 | db_finalize(&q); |
| 666 | } |
| 667 | |
| 668 | /* |
| 669 | ** COMMAND: whatis* |
| 670 | ** |
| 671 | ** Usage: %fossil whatis NAME |
| 672 | ** |
| 673 | ** Resolve the symbol NAME into its canonical 40-character SHA1-hash |
| 674 | ** artifact name and provide a description of what role that artifact |
| 675 | ** plays. |
| @@ -720,10 +721,11 @@ | |
| 721 | } |
| 722 | } |
| 723 | |
| 724 | /* |
| 725 | ** COMMAND: test-whatis-all |
| 726 | ** |
| 727 | ** Usage: %fossil test-whatis-all |
| 728 | ** |
| 729 | ** Show "whatis" information about every artifact in the repository |
| 730 | */ |
| 731 | void test_whatis_all_cmd(void){ |
| @@ -739,10 +741,11 @@ | |
| 741 | } |
| 742 | |
| 743 | |
| 744 | /* |
| 745 | ** COMMAND: test-ambiguous |
| 746 | ** |
| 747 | ** Usage: %fossil test-ambiguous [--minsize N] |
| 748 | ** |
| 749 | ** Show a list of ambiguous SHA1-hash abbreviations of N characters or |
| 750 | ** more where N defaults to 4. Change N to a different value using |
| 751 | ** the "--minsize N" command-line option. |
| 752 |
+5
-2
| --- src/rebuild.c | ||
| +++ src/rebuild.c | ||
| @@ -682,11 +682,13 @@ | ||
| 682 | 682 | fossil_print("%-15s %6d\n", "Other:", g.parseCnt[CFTYPE_ANY] - subtotal); |
| 683 | 683 | } |
| 684 | 684 | } |
| 685 | 685 | |
| 686 | 686 | /* |
| 687 | -** COMMAND: test-detach ?REPOSITORY? | |
| 687 | +** COMMAND: test-detach | |
| 688 | +** | |
| 689 | +** Usage: %fossil test-detach ?REPOSITORY? | |
| 688 | 690 | ** |
| 689 | 691 | ** Change the project-code and make other changes in order to prevent |
| 690 | 692 | ** the repository from ever again pushing or pulling to other |
| 691 | 693 | ** repositories. Used to create a "test" repository for development |
| 692 | 694 | ** testing by cloning a working project repository. |
| @@ -794,11 +796,12 @@ | ||
| 794 | 796 | } |
| 795 | 797 | } |
| 796 | 798 | |
| 797 | 799 | /* |
| 798 | 800 | ** COMMAND: scrub* |
| 799 | -** %fossil scrub ?OPTIONS? ?REPOSITORY? | |
| 801 | +** | |
| 802 | +** Usage: %fossil scrub ?OPTIONS? ?REPOSITORY? | |
| 800 | 803 | ** |
| 801 | 804 | ** The command removes sensitive information (such as passwords) from a |
| 802 | 805 | ** repository so that the repository can be sent to an untrusted reader. |
| 803 | 806 | ** |
| 804 | 807 | ** By default, only passwords are removed. However, if the --verily option |
| 805 | 808 |
| --- src/rebuild.c | |
| +++ src/rebuild.c | |
| @@ -682,11 +682,13 @@ | |
| 682 | fossil_print("%-15s %6d\n", "Other:", g.parseCnt[CFTYPE_ANY] - subtotal); |
| 683 | } |
| 684 | } |
| 685 | |
| 686 | /* |
| 687 | ** COMMAND: test-detach ?REPOSITORY? |
| 688 | ** |
| 689 | ** Change the project-code and make other changes in order to prevent |
| 690 | ** the repository from ever again pushing or pulling to other |
| 691 | ** repositories. Used to create a "test" repository for development |
| 692 | ** testing by cloning a working project repository. |
| @@ -794,11 +796,12 @@ | |
| 794 | } |
| 795 | } |
| 796 | |
| 797 | /* |
| 798 | ** COMMAND: scrub* |
| 799 | ** %fossil scrub ?OPTIONS? ?REPOSITORY? |
| 800 | ** |
| 801 | ** The command removes sensitive information (such as passwords) from a |
| 802 | ** repository so that the repository can be sent to an untrusted reader. |
| 803 | ** |
| 804 | ** By default, only passwords are removed. However, if the --verily option |
| 805 |
| --- src/rebuild.c | |
| +++ src/rebuild.c | |
| @@ -682,11 +682,13 @@ | |
| 682 | fossil_print("%-15s %6d\n", "Other:", g.parseCnt[CFTYPE_ANY] - subtotal); |
| 683 | } |
| 684 | } |
| 685 | |
| 686 | /* |
| 687 | ** COMMAND: test-detach |
| 688 | ** |
| 689 | ** Usage: %fossil test-detach ?REPOSITORY? |
| 690 | ** |
| 691 | ** Change the project-code and make other changes in order to prevent |
| 692 | ** the repository from ever again pushing or pulling to other |
| 693 | ** repositories. Used to create a "test" repository for development |
| 694 | ** testing by cloning a working project repository. |
| @@ -794,11 +796,12 @@ | |
| 796 | } |
| 797 | } |
| 798 | |
| 799 | /* |
| 800 | ** COMMAND: scrub* |
| 801 | ** |
| 802 | ** Usage: %fossil scrub ?OPTIONS? ?REPOSITORY? |
| 803 | ** |
| 804 | ** The command removes sensitive information (such as passwords) from a |
| 805 | ** repository so that the repository can be sent to an untrusted reader. |
| 806 | ** |
| 807 | ** By default, only passwords are removed. However, if the --verily option |
| 808 |
+3
-2
| --- src/search.c | ||
| +++ src/search.c | ||
| @@ -317,11 +317,11 @@ | ||
| 317 | 317 | } |
| 318 | 318 | |
| 319 | 319 | /* |
| 320 | 320 | ** COMMAND: test-match |
| 321 | 321 | ** |
| 322 | -** Usage: fossil test-match SEARCHSTRING FILE1 FILE2 ... | |
| 322 | +** Usage: %fossil test-match SEARCHSTRING FILE1 FILE2 ... | |
| 323 | 323 | */ |
| 324 | 324 | void test_match_cmd(void){ |
| 325 | 325 | Search *p; |
| 326 | 326 | int i; |
| 327 | 327 | Blob x; |
| @@ -516,11 +516,12 @@ | ||
| 516 | 516 | |
| 517 | 517 | /* |
| 518 | 518 | ** Testing the search function. |
| 519 | 519 | ** |
| 520 | 520 | ** COMMAND: search* |
| 521 | -** %fossil search [-all|-a] [-limit|-n #] [-width|-W #] pattern... | |
| 521 | +** | |
| 522 | +** Usage: %fossil search [-all|-a] [-limit|-n #] [-width|-W #] pattern... | |
| 522 | 523 | ** |
| 523 | 524 | ** Search for timeline entries matching all words provided on the |
| 524 | 525 | ** command line. Whole-word matches scope more highly than partial |
| 525 | 526 | ** matches. |
| 526 | 527 | ** |
| 527 | 528 |
| --- src/search.c | |
| +++ src/search.c | |
| @@ -317,11 +317,11 @@ | |
| 317 | } |
| 318 | |
| 319 | /* |
| 320 | ** COMMAND: test-match |
| 321 | ** |
| 322 | ** Usage: fossil test-match SEARCHSTRING FILE1 FILE2 ... |
| 323 | */ |
| 324 | void test_match_cmd(void){ |
| 325 | Search *p; |
| 326 | int i; |
| 327 | Blob x; |
| @@ -516,11 +516,12 @@ | |
| 516 | |
| 517 | /* |
| 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 |
| --- src/search.c | |
| +++ src/search.c | |
| @@ -317,11 +317,11 @@ | |
| 317 | } |
| 318 | |
| 319 | /* |
| 320 | ** COMMAND: test-match |
| 321 | ** |
| 322 | ** Usage: %fossil test-match SEARCHSTRING FILE1 FILE2 ... |
| 323 | */ |
| 324 | void test_match_cmd(void){ |
| 325 | Search *p; |
| 326 | int i; |
| 327 | Blob x; |
| @@ -516,11 +516,12 @@ | |
| 516 | |
| 517 | /* |
| 518 | ** Testing the search function. |
| 519 | ** |
| 520 | ** COMMAND: search* |
| 521 | ** |
| 522 | ** Usage: %fossil search [-all|-a] [-limit|-n #] [-width|-W #] pattern... |
| 523 | ** |
| 524 | ** Search for timeline entries matching all words provided on the |
| 525 | ** command line. Whole-word matches scope more highly than partial |
| 526 | ** matches. |
| 527 | ** |
| 528 |
+2
-1
| --- src/sha1.c | ||
| +++ src/sha1.c | ||
| @@ -448,11 +448,12 @@ | ||
| 448 | 448 | fossil_free); |
| 449 | 449 | } |
| 450 | 450 | |
| 451 | 451 | /* |
| 452 | 452 | ** COMMAND: sha1sum* |
| 453 | -** %fossil sha1sum FILE... | |
| 453 | +** | |
| 454 | +** Usage: %fossil sha1sum FILE... | |
| 454 | 455 | ** |
| 455 | 456 | ** Compute an SHA1 checksum of all files named on the command-line. |
| 456 | 457 | ** If a file is named "-" then take its content from standard input. |
| 457 | 458 | */ |
| 458 | 459 | void sha1sum_test(void){ |
| 459 | 460 |
| --- src/sha1.c | |
| +++ src/sha1.c | |
| @@ -448,11 +448,12 @@ | |
| 448 | fossil_free); |
| 449 | } |
| 450 | |
| 451 | /* |
| 452 | ** COMMAND: sha1sum* |
| 453 | ** %fossil sha1sum FILE... |
| 454 | ** |
| 455 | ** Compute an SHA1 checksum of all files named on the command-line. |
| 456 | ** If a file is named "-" then take its content from standard input. |
| 457 | */ |
| 458 | void sha1sum_test(void){ |
| 459 |
| --- src/sha1.c | |
| +++ src/sha1.c | |
| @@ -448,11 +448,12 @@ | |
| 448 | fossil_free); |
| 449 | } |
| 450 | |
| 451 | /* |
| 452 | ** COMMAND: sha1sum* |
| 453 | ** |
| 454 | ** Usage: %fossil sha1sum FILE... |
| 455 | ** |
| 456 | ** Compute an SHA1 checksum of all files named on the command-line. |
| 457 | ** If a file is named "-" then take its content from standard input. |
| 458 | */ |
| 459 | void sha1sum_test(void){ |
| 460 |
+3
-1
| --- src/tag.c | ||
| +++ src/tag.c | ||
| @@ -236,11 +236,12 @@ | ||
| 236 | 236 | } |
| 237 | 237 | |
| 238 | 238 | |
| 239 | 239 | /* |
| 240 | 240 | ** COMMAND: test-tag |
| 241 | -** %fossil test-tag (+|*|-)TAGNAME ARTIFACT-ID ?VALUE? | |
| 241 | +** | |
| 242 | +** Usage: %fossil test-tag (+|*|-)TAGNAME ARTIFACT-ID ?VALUE? | |
| 242 | 243 | ** |
| 243 | 244 | ** Add a tag or anti-tag to the rebuildable tables of the local repository. |
| 244 | 245 | ** No tag artifact is created so the new tag is erased the next |
| 245 | 246 | ** time the repository is rebuilt. This routine is for testing |
| 246 | 247 | ** use only. |
| @@ -333,10 +334,11 @@ | ||
| 333 | 334 | assert( blob_is_reset(&ctrl) ); |
| 334 | 335 | } |
| 335 | 336 | |
| 336 | 337 | /* |
| 337 | 338 | ** COMMAND: tag |
| 339 | +** | |
| 338 | 340 | ** Usage: %fossil tag SUBCOMMAND ... |
| 339 | 341 | ** |
| 340 | 342 | ** Run various subcommands to control tags and properties. |
| 341 | 343 | ** |
| 342 | 344 | ** %fossil tag add ?OPTIONS? TAGNAME CHECK-IN ?VALUE? |
| 343 | 345 |
| --- src/tag.c | |
| +++ src/tag.c | |
| @@ -236,11 +236,12 @@ | |
| 236 | } |
| 237 | |
| 238 | |
| 239 | /* |
| 240 | ** COMMAND: test-tag |
| 241 | ** %fossil test-tag (+|*|-)TAGNAME ARTIFACT-ID ?VALUE? |
| 242 | ** |
| 243 | ** Add a tag or anti-tag to the rebuildable tables of the local repository. |
| 244 | ** No tag artifact is created so the new tag is erased the next |
| 245 | ** time the repository is rebuilt. This routine is for testing |
| 246 | ** use only. |
| @@ -333,10 +334,11 @@ | |
| 333 | assert( blob_is_reset(&ctrl) ); |
| 334 | } |
| 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 |
| --- src/tag.c | |
| +++ src/tag.c | |
| @@ -236,11 +236,12 @@ | |
| 236 | } |
| 237 | |
| 238 | |
| 239 | /* |
| 240 | ** COMMAND: test-tag |
| 241 | ** |
| 242 | ** Usage: %fossil test-tag (+|*|-)TAGNAME ARTIFACT-ID ?VALUE? |
| 243 | ** |
| 244 | ** Add a tag or anti-tag to the rebuildable tables of the local repository. |
| 245 | ** No tag artifact is created so the new tag is erased the next |
| 246 | ** time the repository is rebuilt. This routine is for testing |
| 247 | ** use only. |
| @@ -333,10 +334,11 @@ | |
| 334 | assert( blob_is_reset(&ctrl) ); |
| 335 | } |
| 336 | |
| 337 | /* |
| 338 | ** COMMAND: tag |
| 339 | ** |
| 340 | ** Usage: %fossil tag SUBCOMMAND ... |
| 341 | ** |
| 342 | ** Run various subcommands to control tags and properties. |
| 343 | ** |
| 344 | ** %fossil tag add ?OPTIONS? TAGNAME CHECK-IN ?VALUE? |
| 345 |
+1
| --- src/tkt.c | ||
| +++ src/tkt.c | ||
| @@ -1056,10 +1056,11 @@ | ||
| 1056 | 1056 | @ </ol> |
| 1057 | 1057 | } |
| 1058 | 1058 | |
| 1059 | 1059 | /* |
| 1060 | 1060 | ** COMMAND: ticket* |
| 1061 | +** | |
| 1061 | 1062 | ** Usage: %fossil ticket SUBCOMMAND ... |
| 1062 | 1063 | ** |
| 1063 | 1064 | ** Run various subcommands to control tickets |
| 1064 | 1065 | ** |
| 1065 | 1066 | ** %fossil ticket show (REPORTTITLE|REPORTNR) ?TICKETFILTER? ?OPTIONS? |
| 1066 | 1067 |
| --- src/tkt.c | |
| +++ src/tkt.c | |
| @@ -1056,10 +1056,11 @@ | |
| 1056 | @ </ol> |
| 1057 | } |
| 1058 | |
| 1059 | /* |
| 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 |
| --- src/tkt.c | |
| +++ src/tkt.c | |
| @@ -1056,10 +1056,11 @@ | |
| 1056 | @ </ol> |
| 1057 | } |
| 1058 | |
| 1059 | /* |
| 1060 | ** COMMAND: ticket* |
| 1061 | ** |
| 1062 | ** Usage: %fossil ticket SUBCOMMAND ... |
| 1063 | ** |
| 1064 | ** Run various subcommands to control tickets |
| 1065 | ** |
| 1066 | ** %fossil ticket show (REPORTTITLE|REPORTNR) ?TICKETFILTER? ?OPTIONS? |
| 1067 |
+1
-1
| --- src/wikiformat.c | ||
| +++ src/wikiformat.c | ||
| @@ -1719,11 +1719,11 @@ | ||
| 1719 | 1719 | } |
| 1720 | 1720 | |
| 1721 | 1721 | /* |
| 1722 | 1722 | ** COMMAND: test-wiki-render |
| 1723 | 1723 | ** |
| 1724 | -** %fossil test-wiki-render FILE [OPTIONS] | |
| 1724 | +** Usage: %fossil test-wiki-render FILE [OPTIONS] | |
| 1725 | 1725 | ** |
| 1726 | 1726 | ** Options: |
| 1727 | 1727 | ** --buttons Set the WIKI_BUTTONS flag |
| 1728 | 1728 | ** --htmlonly Set the WIKI_HTMLONLY flag |
| 1729 | 1729 | ** --linksonly Set the WIKI_LINKSONLY flag |
| 1730 | 1730 |
| --- src/wikiformat.c | |
| +++ src/wikiformat.c | |
| @@ -1719,11 +1719,11 @@ | |
| 1719 | } |
| 1720 | |
| 1721 | /* |
| 1722 | ** COMMAND: test-wiki-render |
| 1723 | ** |
| 1724 | ** %fossil test-wiki-render FILE [OPTIONS] |
| 1725 | ** |
| 1726 | ** Options: |
| 1727 | ** --buttons Set the WIKI_BUTTONS flag |
| 1728 | ** --htmlonly Set the WIKI_HTMLONLY flag |
| 1729 | ** --linksonly Set the WIKI_LINKSONLY flag |
| 1730 |
| --- src/wikiformat.c | |
| +++ src/wikiformat.c | |
| @@ -1719,11 +1719,11 @@ | |
| 1719 | } |
| 1720 | |
| 1721 | /* |
| 1722 | ** COMMAND: test-wiki-render |
| 1723 | ** |
| 1724 | ** Usage: %fossil test-wiki-render FILE [OPTIONS] |
| 1725 | ** |
| 1726 | ** Options: |
| 1727 | ** --buttons Set the WIKI_BUTTONS flag |
| 1728 | ** --htmlonly Set the WIKI_HTMLONLY flag |
| 1729 | ** --linksonly Set the WIKI_LINKSONLY flag |
| 1730 |
+1
| --- src/winhttp.c | ||
| +++ src/winhttp.c | ||
| @@ -572,10 +572,11 @@ | ||
| 572 | 572 | return 0; |
| 573 | 573 | } |
| 574 | 574 | |
| 575 | 575 | /* dupe ifdef needed for mkindex |
| 576 | 576 | ** COMMAND: winsrv* |
| 577 | +** | |
| 577 | 578 | ** Usage: %fossil winsrv METHOD ?SERVICE-NAME? ?OPTIONS? |
| 578 | 579 | ** |
| 579 | 580 | ** Where METHOD is one of: create delete show start stop. |
| 580 | 581 | ** |
| 581 | 582 | ** The winsrv command manages Fossil as a Windows service. This allows |
| 582 | 583 |
| --- src/winhttp.c | |
| +++ src/winhttp.c | |
| @@ -572,10 +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 |
| --- src/winhttp.c | |
| +++ src/winhttp.c | |
| @@ -572,10 +572,11 @@ | |
| 572 | return 0; |
| 573 | } |
| 574 | |
| 575 | /* dupe ifdef needed for mkindex |
| 576 | ** COMMAND: winsrv* |
| 577 | ** |
| 578 | ** Usage: %fossil winsrv METHOD ?SERVICE-NAME? ?OPTIONS? |
| 579 | ** |
| 580 | ** Where METHOD is one of: create delete show start stop. |
| 581 | ** |
| 582 | ** The winsrv command manages Fossil as a Windows service. This allows |
| 583 |