Fossil SCM

Make the (help platform-specific-command-or-page) output more generic so that it applies equally to commands, settings, and web pages.

stephan 2025-03-10 10:23 trunk
Commit 7919a44d5351330705eeec43f465cf305e2855bf72248472a9aca8705cd777ca
1 file changed +1 -1
+1 -1
--- src/dispatch.c
+++ src/dispatch.c
@@ -1545,11 +1545,11 @@
15451545
if( rc ){
15461546
int i, n;
15471547
const char *az[5];
15481548
if( rc==1 ){
15491549
if( help_is_platform_command(g.argv[2]) ){
1550
- fossil_print("Command is not available in this build: %s\n", g.argv[2]);
1550
+ fossil_print("Not available in this build: %s\n", g.argv[2]);
15511551
return;
15521552
}
15531553
fossil_print("unknown %s: %s\n", zCmdOrPage, g.argv[2]);
15541554
}else{
15551555
fossil_print("ambiguous %s prefix: %s\n",
15561556
--- src/dispatch.c
+++ src/dispatch.c
@@ -1545,11 +1545,11 @@
1545 if( rc ){
1546 int i, n;
1547 const char *az[5];
1548 if( rc==1 ){
1549 if( help_is_platform_command(g.argv[2]) ){
1550 fossil_print("Command is not available in this build: %s\n", g.argv[2]);
1551 return;
1552 }
1553 fossil_print("unknown %s: %s\n", zCmdOrPage, g.argv[2]);
1554 }else{
1555 fossil_print("ambiguous %s prefix: %s\n",
1556
--- src/dispatch.c
+++ src/dispatch.c
@@ -1545,11 +1545,11 @@
1545 if( rc ){
1546 int i, n;
1547 const char *az[5];
1548 if( rc==1 ){
1549 if( help_is_platform_command(g.argv[2]) ){
1550 fossil_print("Not available in this build: %s\n", g.argv[2]);
1551 return;
1552 }
1553 fossil_print("unknown %s: %s\n", zCmdOrPage, g.argv[2]);
1554 }else{
1555 fossil_print("ambiguous %s prefix: %s\n",
1556

Keyboard Shortcuts

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