Fossil SCM
Make the (help platform-specific-command-or-page) output more generic so that it applies equally to commands, settings, and web pages.
Commit
7919a44d5351330705eeec43f465cf305e2855bf72248472a9aca8705cd777ca
Parent
e5ace41107d6312…
1 file changed
+1
-1
+1
-1
| --- src/dispatch.c | ||
| +++ src/dispatch.c | ||
| @@ -1545,11 +1545,11 @@ | ||
| 1545 | 1545 | if( rc ){ |
| 1546 | 1546 | int i, n; |
| 1547 | 1547 | const char *az[5]; |
| 1548 | 1548 | if( rc==1 ){ |
| 1549 | 1549 | 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]); | |
| 1551 | 1551 | return; |
| 1552 | 1552 | } |
| 1553 | 1553 | fossil_print("unknown %s: %s\n", zCmdOrPage, g.argv[2]); |
| 1554 | 1554 | }else{ |
| 1555 | 1555 | fossil_print("ambiguous %s prefix: %s\n", |
| 1556 | 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("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 |