Fossil SCM

Squish multiple comment typos

wyoung 2025-10-11 16:06 trunk
Commit 8af686481ec7b1aebf346a2925f5b9185193133d85e65205368f885ccdd859e5
1 file changed +3 -3
+3 -3
--- src/dispatch.c
+++ src/dispatch.c
@@ -59,11 +59,11 @@
5959
#define CMDFLAG_ABBREVSUBCMD 0x8000 /* Help text abbreviates subcommands */
6060
/**************************************************************************/
6161
6262
/* Values for the 2nd parameter to dispatch_name_search() */
6363
#define CMDFLAG_ANY 0x0038 /* Match anything */
64
-#define CMDFLAG_PREFIX 0x0200 /* Prefix match is ok */
64
+#define CMDFLAG_PREFIX 0x0200 /* Prefix match is OK */
6565
6666
#endif /* INTERFACE */
6767
6868
/*
6969
** The page_index.h file contains the definition for aCommand[] - an array
@@ -850,11 +850,11 @@
850850
** or setting name. If CMD beings with "/" it is
851851
** interpreted as a PAGE name.
852852
**
853853
** name=www/PAGE Show help for web page PAGE.
854854
**
855
-** name=/PAGE The initial "www/" on web-page help can be abbreiated as
855
+** name=/PAGE The initial "www/" on web-page help can be abbreviated as
856856
** just "/"
857857
**
858858
** plaintext Show the help within <pre>...</pre>, as if it were
859859
** displayed using the "fossil help" command.
860860
**
@@ -875,11 +875,11 @@
875875
if( search_restrict(SRCH_HELP)!=0 ){
876876
style_submenu_element("Search","%R/search?y=h");
877877
}
878878
if( strncmp(zCmd,"www/",4)==0 && zCmd[4]!=0 ){
879879
/* Use https://domain/fossil/help/www/timeline or similar with the "www"
880
- ** intermediate tag to view web-page documention. */
880
+ ** intermediate tag to view web-page documentation. */
881881
zCmd += 3;
882882
}
883883
rc = dispatch_name_search(zCmd, CMDFLAG_ANY|CMDFLAG_PREFIX, &pCmd);
884884
if( pCmd ){
885885
style_header("Help: %s", pCmd->zName);
886886
--- src/dispatch.c
+++ src/dispatch.c
@@ -59,11 +59,11 @@
59 #define CMDFLAG_ABBREVSUBCMD 0x8000 /* Help text abbreviates subcommands */
60 /**************************************************************************/
61
62 /* Values for the 2nd parameter to dispatch_name_search() */
63 #define CMDFLAG_ANY 0x0038 /* Match anything */
64 #define CMDFLAG_PREFIX 0x0200 /* Prefix match is ok */
65
66 #endif /* INTERFACE */
67
68 /*
69 ** The page_index.h file contains the definition for aCommand[] - an array
@@ -850,11 +850,11 @@
850 ** or setting name. If CMD beings with "/" it is
851 ** interpreted as a PAGE name.
852 **
853 ** name=www/PAGE Show help for web page PAGE.
854 **
855 ** name=/PAGE The initial "www/" on web-page help can be abbreiated as
856 ** just "/"
857 **
858 ** plaintext Show the help within <pre>...</pre>, as if it were
859 ** displayed using the "fossil help" command.
860 **
@@ -875,11 +875,11 @@
875 if( search_restrict(SRCH_HELP)!=0 ){
876 style_submenu_element("Search","%R/search?y=h");
877 }
878 if( strncmp(zCmd,"www/",4)==0 && zCmd[4]!=0 ){
879 /* Use https://domain/fossil/help/www/timeline or similar with the "www"
880 ** intermediate tag to view web-page documention. */
881 zCmd += 3;
882 }
883 rc = dispatch_name_search(zCmd, CMDFLAG_ANY|CMDFLAG_PREFIX, &pCmd);
884 if( pCmd ){
885 style_header("Help: %s", pCmd->zName);
886
--- src/dispatch.c
+++ src/dispatch.c
@@ -59,11 +59,11 @@
59 #define CMDFLAG_ABBREVSUBCMD 0x8000 /* Help text abbreviates subcommands */
60 /**************************************************************************/
61
62 /* Values for the 2nd parameter to dispatch_name_search() */
63 #define CMDFLAG_ANY 0x0038 /* Match anything */
64 #define CMDFLAG_PREFIX 0x0200 /* Prefix match is OK */
65
66 #endif /* INTERFACE */
67
68 /*
69 ** The page_index.h file contains the definition for aCommand[] - an array
@@ -850,11 +850,11 @@
850 ** or setting name. If CMD beings with "/" it is
851 ** interpreted as a PAGE name.
852 **
853 ** name=www/PAGE Show help for web page PAGE.
854 **
855 ** name=/PAGE The initial "www/" on web-page help can be abbreviated as
856 ** just "/"
857 **
858 ** plaintext Show the help within <pre>...</pre>, as if it were
859 ** displayed using the "fossil help" command.
860 **
@@ -875,11 +875,11 @@
875 if( search_restrict(SRCH_HELP)!=0 ){
876 style_submenu_element("Search","%R/search?y=h");
877 }
878 if( strncmp(zCmd,"www/",4)==0 && zCmd[4]!=0 ){
879 /* Use https://domain/fossil/help/www/timeline or similar with the "www"
880 ** intermediate tag to view web-page documentation. */
881 zCmd += 3;
882 }
883 rc = dispatch_name_search(zCmd, CMDFLAG_ANY|CMDFLAG_PREFIX, &pCmd);
884 if( pCmd ){
885 style_header("Help: %s", pCmd->zName);
886

Keyboard Shortcuts

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