Fossil SCM

Make usage of 'Usage:' and 'or:' consistent in all help text.

rberteig 2016-04-07 18:41 trunk
Commit 8bfd9951cabf0efc40a32447fa18cefa7bc84f3f
+1 -1
--- src/blob.c
+++ src/blob.c
@@ -119,11 +119,11 @@
119119
120120
121121
/*
122122
** COMMAND: test-isspace
123123
**
124
-** Verify that the fossil_isspace() routine is working correctly but
124
+** Verify that the fossil_isspace() routine is working correctly by
125125
** testing it on all possible inputs.
126126
*/
127127
void isspace_cmd(void){
128128
int i;
129129
for(i=0; i<=255; i++){
130130
--- 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 @@
5656
}
5757
5858
/*
5959
** COMMAND: test-builtin-list
6060
**
61
-** List the names and sizes of all built-in resources
61
+** List the names and sizes of all built-in resources.
6262
*/
6363
void test_builtin_list(void){
6464
int i;
6565
for(i=0; i<sizeof(aBuiltinFiles)/sizeof(aBuiltinFiles[0]); i++){
6666
fossil_print("%-30s %6d\n", aBuiltinFiles[i].zName,aBuiltinFiles[i].nByte);
6767
--- 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
--- src/cache.c
+++ src/cache.c
@@ -237,10 +237,11 @@
237237
sqlite3_close(cacheOpen(1));
238238
}
239239
240240
/*
241241
** COMMAND: cache*
242
+**
242243
** Usage: %fossil cache SUBCOMMAND
243244
**
244245
** Manage the cache used for potentially expensive web pages such as
245246
** /zip and /tarball. SUBCOMMAND can be:
246247
**
247248
--- 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
--- src/checkin.c
+++ src/checkin.c
@@ -546,10 +546,11 @@
546546
}
547547
}
548548
549549
/*
550550
** COMMAND: extras
551
+**
551552
** Usage: %fossil extras ?OPTIONS? ?PATH1 ...?
552553
**
553554
** Print a list of all files in the source tree that are not part of
554555
** the current checkout. See also the "clean" command. If paths are
555556
** specified, only files in the given directories will be listed.
@@ -631,10 +632,11 @@
631632
db_finalize(&q);
632633
}
633634
634635
/*
635636
** COMMAND: clean
637
+**
636638
** Usage: %fossil clean ?OPTIONS? ?PATH ...?
637639
**
638640
** Delete all "extra" files in the source tree. "Extra" files are
639641
** files that are not officially part of the checkout. This operation
640642
** cannot be undone. If one or more PATH arguments appear, then only
641643
--- 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 @@
960960
}
961961
962962
/*
963963
** COMMAND: test-orphans
964964
**
965
-** Search the repository for orphaned artifacts
965
+** Search the repository for orphaned artifacts.
966966
*/
967967
void test_orphans(void){
968968
Stmt q;
969969
int cnt = 0;
970970
971971
--- 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
+7 -5
--- src/db.c
+++ src/db.c
@@ -1689,11 +1689,11 @@
16891689
/*
16901690
** COMMAND: new*
16911691
** COMMAND: init
16921692
**
16931693
** Usage: %fossil new ?OPTIONS? FILENAME
1694
-** Or: %fossil init ?OPTIONS? FILENAME
1694
+** or: %fossil init ?OPTIONS? FILENAME
16951695
**
16961696
** Create a repository for a new project in the file named FILENAME.
16971697
** This command is distinct from "clone". The "clone" command makes
16981698
** a copy of an existing project. This command starts a new project.
16991699
**
@@ -2579,12 +2579,12 @@
25792579
25802580
/*
25812581
** COMMAND: settings
25822582
** COMMAND: unset*
25832583
**
2584
-** %fossil settings ?PROPERTY? ?VALUE? ?OPTIONS?
2585
-** %fossil unset PROPERTY ?OPTIONS?
2584
+** Usage: %fossil settings ?PROPERTY? ?VALUE? ?OPTIONS?
2585
+** or: %fossil unset PROPERTY ?OPTIONS?
25862586
**
25872587
** The "settings" command with no arguments lists all properties and their
25882588
** values. With just a property name it shows the value of that property.
25892589
** With a value argument it changes the property for the current repository.
25902590
**
@@ -2931,11 +2931,12 @@
29312931
return sqlite3_mprintf("%.1f years", rSpan);
29322932
}
29332933
29342934
/*
29352935
** COMMAND: test-timespan
2936
-** %fossil test-timespan TIMESTAMP
2936
+**
2937
+** Usage: %fossil test-timespan TIMESTAMP
29372938
**
29382939
** Print the approximate span of time from now to TIMESTAMP.
29392940
*/
29402941
void test_timespan_cmd(void){
29412942
double rDiff;
@@ -2947,11 +2948,12 @@
29472948
g.db = 0;
29482949
}
29492950
29502951
/*
29512952
** COMMAND: test-without-rowid
2952
-** %fossil test-without-rowid FILENAME...
2953
+**
2954
+** Usage: %fossil test-without-rowid FILENAME...
29532955
**
29542956
** Change the Fossil repository FILENAME to make use of the WITHOUT ROWID
29552957
** optimization. FILENAME can also be the ~/.fossil file or a local
29562958
** .fslckout or _FOSSIL_ file.
29572959
**
29582960
--- 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 @@
24352435
/*
24362436
** COMMAND: annotate
24372437
** COMMAND: blame
24382438
** COMMAND: praise
24392439
**
2440
-** %fossil (annotate|blame|praise) ?OPTIONS? FILENAME
2440
+** Usage: %fossil (annotate|blame|praise) ?OPTIONS? FILENAME
24412441
**
24422442
** Output the text of a file with markings to show when each line of
24432443
** the file was last modified. The "annotate" command shows line numbers
24442444
** and omits the username. The "blame" and "praise" commands show the user
24452445
** who made each check-in and omits the line number.
24462446
--- 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
--- src/encode.c
+++ src/encode.c
@@ -367,10 +367,11 @@
367367
return z64;
368368
}
369369
370370
/*
371371
** COMMAND: test-encode64
372
+**
372373
** Usage: %fossil test-encode64 STRING
373374
*/
374375
void test_encode64_cmd(void){
375376
char *z;
376377
int i;
@@ -432,10 +433,11 @@
432433
return zData;
433434
}
434435
435436
/*
436437
** COMMAND: test-decode64
438
+**
437439
** Usage: %fossil test-decode64 STRING
438440
*/
439441
void test_decode64_cmd(void){
440442
char *z;
441443
int i, n;
442444
--- 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 @@
822822
}
823823
824824
/*
825825
** COMMAND: test-simplify-name
826826
**
827
-** %fossil test-simplify-name FILENAME...
827
+** Usage: %fossil test-simplify-name FILENAME...
828828
**
829829
** Print the simplified versions of each FILENAME.
830830
*/
831831
void cmd_test_simplify_name(void){
832832
int i;
@@ -923,10 +923,11 @@
923923
blob_size(pOut), slash));
924924
}
925925
926926
/*
927927
** COMMAND: test-canonical-name
928
+**
928929
** Usage: %fossil test-canonical-name FILENAME...
929930
**
930931
** Test the operation of the canonical name generator.
931932
** Also test Fossil's ability to measure attributes of a file.
932933
*/
933934
--- 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
--- src/loadctrl.c
+++ src/loadctrl.c
@@ -35,10 +35,11 @@
3535
return 0.0;
3636
}
3737
3838
/*
3939
** COMMAND: test-loadavg
40
+**
4041
** %fossil test-loadavg
4142
**
4243
** Print the load average on the host machine.
4344
*/
4445
void loadavg_test_cmd(void){
4546
--- 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 @@
985985
}
986986
987987
/*
988988
** COMMAND: test-list-webpage
989989
**
990
-** List all web pages
990
+** List all web pages.
991991
*/
992992
void cmd_test_webpage_list(void){
993993
int i, nCmd;
994994
const char *aCmd[count(aCommand)];
995995
for(i=nCmd=0; i<count(aCommand); i++){
@@ -1225,11 +1225,12 @@
12251225
putchar('\n');
12261226
}
12271227
12281228
/*
12291229
** COMMAND: test-all-help
1230
-** %fossil test-all-help ?OPTIONS?
1230
+**
1231
+** Usage: %fossil test-all-help ?OPTIONS?
12311232
**
12321233
** Show help text for commands and pages. Useful for proof-reading.
12331234
** Defaults to just the CLI commands. Specify --www to see only the
12341235
** web pages, or --everything to see both commands and pages.
12351236
**
@@ -2449,11 +2450,11 @@
24492450
/*
24502451
** COMMAND: server*
24512452
** COMMAND: ui
24522453
**
24532454
** Usage: %fossil server ?OPTIONS? ?REPOSITORY?
2454
-** Or: %fossil ui ?OPTIONS? ?REPOSITORY?
2455
+** or: %fossil ui ?OPTIONS? ?REPOSITORY?
24552456
**
24562457
** Open a socket and begin listening and responding to HTTP requests on
24572458
** TCP port 8080, or on any other TCP port defined by the -P or
24582459
** --port option. The optional argument is the name of the repository.
24592460
** The repository argument may be omitted if the working directory is
24602461
--- 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 @@
422422
}
423423
424424
425425
/*
426426
** COMMAND: md5sum*
427
+**
427428
** Usage: %fossil md5sum FILES....
428429
**
429430
** Compute an MD5 checksum of all files named on the command-line.
430431
** If a file is named "-" then content is read from standard input.
431432
*/
432433
--- 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 @@
665665
db_finalize(&q);
666666
}
667667
668668
/*
669669
** COMMAND: whatis*
670
+**
670671
** Usage: %fossil whatis NAME
671672
**
672673
** Resolve the symbol NAME into its canonical 40-character SHA1-hash
673674
** artifact name and provide a description of what role that artifact
674675
** plays.
@@ -720,10 +721,11 @@
720721
}
721722
}
722723
723724
/*
724725
** COMMAND: test-whatis-all
726
+**
725727
** Usage: %fossil test-whatis-all
726728
**
727729
** Show "whatis" information about every artifact in the repository
728730
*/
729731
void test_whatis_all_cmd(void){
@@ -739,10 +741,11 @@
739741
}
740742
741743
742744
/*
743745
** COMMAND: test-ambiguous
746
+**
744747
** Usage: %fossil test-ambiguous [--minsize N]
745748
**
746749
** Show a list of ambiguous SHA1-hash abbreviations of N characters or
747750
** more where N defaults to 4. Change N to a different value using
748751
** the "--minsize N" command-line option.
749752
--- 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 @@
682682
fossil_print("%-15s %6d\n", "Other:", g.parseCnt[CFTYPE_ANY] - subtotal);
683683
}
684684
}
685685
686686
/*
687
-** COMMAND: test-detach ?REPOSITORY?
687
+** COMMAND: test-detach
688
+**
689
+** Usage: %fossil test-detach ?REPOSITORY?
688690
**
689691
** Change the project-code and make other changes in order to prevent
690692
** the repository from ever again pushing or pulling to other
691693
** repositories. Used to create a "test" repository for development
692694
** testing by cloning a working project repository.
@@ -794,11 +796,12 @@
794796
}
795797
}
796798
797799
/*
798800
** COMMAND: scrub*
799
-** %fossil scrub ?OPTIONS? ?REPOSITORY?
801
+**
802
+** Usage: %fossil scrub ?OPTIONS? ?REPOSITORY?
800803
**
801804
** The command removes sensitive information (such as passwords) from a
802805
** repository so that the repository can be sent to an untrusted reader.
803806
**
804807
** By default, only passwords are removed. However, if the --verily option
805808
--- 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 @@
317317
}
318318
319319
/*
320320
** COMMAND: test-match
321321
**
322
-** Usage: fossil test-match SEARCHSTRING FILE1 FILE2 ...
322
+** Usage: %fossil test-match SEARCHSTRING FILE1 FILE2 ...
323323
*/
324324
void test_match_cmd(void){
325325
Search *p;
326326
int i;
327327
Blob x;
@@ -516,11 +516,12 @@
516516
517517
/*
518518
** Testing the search function.
519519
**
520520
** COMMAND: search*
521
-** %fossil search [-all|-a] [-limit|-n #] [-width|-W #] pattern...
521
+**
522
+** Usage: %fossil search [-all|-a] [-limit|-n #] [-width|-W #] pattern...
522523
**
523524
** Search for timeline entries matching all words provided on the
524525
** command line. Whole-word matches scope more highly than partial
525526
** matches.
526527
**
527528
--- 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 @@
448448
fossil_free);
449449
}
450450
451451
/*
452452
** COMMAND: sha1sum*
453
-** %fossil sha1sum FILE...
453
+**
454
+** Usage: %fossil sha1sum FILE...
454455
**
455456
** Compute an SHA1 checksum of all files named on the command-line.
456457
** If a file is named "-" then take its content from standard input.
457458
*/
458459
void sha1sum_test(void){
459460
--- 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 @@
236236
}
237237
238238
239239
/*
240240
** COMMAND: test-tag
241
-** %fossil test-tag (+|*|-)TAGNAME ARTIFACT-ID ?VALUE?
241
+**
242
+** Usage: %fossil test-tag (+|*|-)TAGNAME ARTIFACT-ID ?VALUE?
242243
**
243244
** Add a tag or anti-tag to the rebuildable tables of the local repository.
244245
** No tag artifact is created so the new tag is erased the next
245246
** time the repository is rebuilt. This routine is for testing
246247
** use only.
@@ -333,10 +334,11 @@
333334
assert( blob_is_reset(&ctrl) );
334335
}
335336
336337
/*
337338
** COMMAND: tag
339
+**
338340
** Usage: %fossil tag SUBCOMMAND ...
339341
**
340342
** Run various subcommands to control tags and properties.
341343
**
342344
** %fossil tag add ?OPTIONS? TAGNAME CHECK-IN ?VALUE?
343345
--- 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 @@
10561056
@ </ol>
10571057
}
10581058
10591059
/*
10601060
** COMMAND: ticket*
1061
+**
10611062
** Usage: %fossil ticket SUBCOMMAND ...
10621063
**
10631064
** Run various subcommands to control tickets
10641065
**
10651066
** %fossil ticket show (REPORTTITLE|REPORTNR) ?TICKETFILTER? ?OPTIONS?
10661067
--- 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
--- src/wikiformat.c
+++ src/wikiformat.c
@@ -1719,11 +1719,11 @@
17191719
}
17201720
17211721
/*
17221722
** COMMAND: test-wiki-render
17231723
**
1724
-** %fossil test-wiki-render FILE [OPTIONS]
1724
+** Usage: %fossil test-wiki-render FILE [OPTIONS]
17251725
**
17261726
** Options:
17271727
** --buttons Set the WIKI_BUTTONS flag
17281728
** --htmlonly Set the WIKI_HTMLONLY flag
17291729
** --linksonly Set the WIKI_LINKSONLY flag
17301730
--- 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
--- src/winhttp.c
+++ src/winhttp.c
@@ -572,10 +572,11 @@
572572
return 0;
573573
}
574574
575575
/* dupe ifdef needed for mkindex
576576
** COMMAND: winsrv*
577
+**
577578
** Usage: %fossil winsrv METHOD ?SERVICE-NAME? ?OPTIONS?
578579
**
579580
** Where METHOD is one of: create delete show start stop.
580581
**
581582
** The winsrv command manages Fossil as a Windows service. This allows
582583
--- 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

Keyboard Shortcuts

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