Fix the help message that sqlite3_analyzer.exe generates for invalid

arguments.

FossilOrigin-Name: 33a14e7be1004abca7a30f675459138d7f8d72b1
This commit is contained in:
drh 2015-09-08 17:31:30 +00:00
parent 337cd0def4
commit 310a8d6668
3 changed files with 20 additions and 8 deletions

View File

@ -1,5 +1,5 @@
C Minor\stweaks\sto\sLemon.
D 2015-09-07T23:40:42.492
C Fix\sthe\shelp\smessage\sthat\ssqlite3_analyzer.exe\sgenerates\sfor\sinvalid\narguments.
D 2015-09-08T17:31:30.826
F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
F Makefile.in f85066ce844a28b671aaeeff320921cd0ce36239
F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@ -1365,7 +1365,7 @@ F tool/showstat4.c 9515faa8ec176599d4a8288293ba8ec61f7b728a
F tool/showwal.c 85cb36d4fe3e93e2fbd63e786e0d1ce42d0c4fad
F tool/soak1.tcl 8d407956e1a45b485a8e072470a3e629a27037fe
F tool/space_used.tcl f714c41a59e326b8b9042f415b628b561bafa06b
F tool/spaceanal.tcl 63a415385a66fdbf736bfd204a31c6d851ed8da6
F tool/spaceanal.tcl 93c1fdc9733c525b17a2024c7df193daa002e037
F tool/speedtest.tcl 06c76698485ccf597b9e7dbb1ac70706eb873355
F tool/speedtest16.c c8a9c793df96db7e4933f0852abb7a03d48f2e81
F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
@ -1383,7 +1383,7 @@ F tool/vdbe_profile.tcl 67746953071a9f8f2f668b73fe899074e2c6d8c1
F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
F tool/warnings.sh 48bd54594752d5be3337f12c72f28d2080cb630b
F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
P 99b992fa840707711d99f8d05b62412f7008cd93
R a2ce2475394d66c086e10e908ff421dc
P 986677224a8da5e79fbbd90673f1b595da89c5d6
R 53efe0392669648bee0c2878b1555bb5
U drh
Z ef0c58cd9e9be4bb6c273d1f71ee47c5
Z cf7dc4ba83b64f541e9e5f6eb6b8039d

View File

@ -1 +1 @@
986677224a8da5e79fbbd90673f1b595da89c5d6
33a14e7be1004abca7a30f675459138d7f8d72b1

View File

@ -26,7 +26,19 @@ proc is_without_rowid {tname} {
#
proc usage {} {
set argv0 [file rootname [file tail [info nameofexecutable]]]
puts stderr "Usage: $argv0 \[--pageinfo] \[--stats] database-name"
puts stderr "Usage: $argv0 ?--pageinfo? ?--stats? database-filename"
puts stderr {
Analyze the SQLite3 database file specified by the "database-filename"
argument and output a report detailing size and storage efficiency
information for the database and its constituent tables and indexes.
Options:
--stats Output SQL text that creates a new database containing
statistics about the database that was analyzed
--pageinfo Show how each page of the database-file is used
}
exit 1
}
set file_to_analyze {}