Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix the ".help -all" option in the command-line shell. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
aac8f1dff0728c629b5cbf30369ee91c |
User & Date: | drh 2018-10-06 14:38:17.499 |
Context
2018-10-08
| ||
12:58 | Add the geopoly_reverse() function to the GeoPoly extension. (check-in: 690dd18a57 user: drh tags: trunk) | |
2018-10-06
| ||
14:38 | Fix the ".help -all" option in the command-line shell. (check-in: aac8f1dff0 user: drh tags: trunk) | |
13:46 | Add test cases and assert() statements to ensure that the authorizer is being called as expected from within ALTER TABLE. (check-in: ff10d2c7de user: dan tags: trunk) | |
Changes
Changes to src/shell.c.in.
︙ | ︙ | |||
3505 3506 3507 3508 3509 3510 3511 | ** ** Return the number of matches. */ static int showHelp(FILE *out, const char *zPattern){ int i, j; int n = 0; char *zPat; | | > > > > > | | 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 | ** ** Return the number of matches. */ static int showHelp(FILE *out, const char *zPattern){ int i, j; int n = 0; char *zPat; if( zPattern==0 || zPattern[0]=='0' || strcmp(zPattern,"-a")==0 || strcmp(zPattern,"-all")==0 ){ /* Show all commands, but only one line per command */ if( zPattern==0 ) zPattern = ""; for(i=0; i<ArraySize(azHelp); i++){ if( azHelp[i][0]=='.' || zPattern[0] ){ utf8_printf(out, "%s\n", azHelp[i]); n++; } } }else{ /* Look for commands that for which zPattern is an exact prefix */ zPat = sqlite3_mprintf(".%s*", zPattern); |
︙ | ︙ |