From f57859a490cebeeb83e5ff11df22abc64e276bb0 Mon Sep 17 00:00:00 2001 From: Jan Staněk Date: May 16 2013 12:53:08 +0000 Subject: Added missing options to man page (#948862) --- diff --git a/sqlite-3.7.16-man-missing-options.patch b/sqlite-3.7.16-man-missing-options.patch new file mode 100644 index 0000000..62e8bb3 --- /dev/null +++ b/sqlite-3.7.16-man-missing-options.patch @@ -0,0 +1,59 @@ +diff -up sqlite-src-3071602/sqlite3.1.broken sqlite-src-3071602/sqlite3.1 +--- sqlite-src-3071602/sqlite3.1.broken 2013-05-16 14:30:05.985387506 +0200 ++++ sqlite-src-3071602/sqlite3.1 2013-05-16 14:43:37.434861289 +0200 +@@ -147,7 +147,7 @@ sqlite> + .B sqlite3 + has the following options: + .TP +-.BI \-init\ file ++.BI \-init\ file + Read and execute commands from + .I file + , which can contain a mix of SQL statements and meta-commands. +@@ -158,11 +158,28 @@ Print commands before execution. + .B \-[no]header + Turn headers on or off. + .TP ++.B \-bail ++Stop after hitting an error. ++.TP ++.B \-interactive ++Force interactive I/O. ++.TP ++.B \-batch ++Force batch I/O. ++.TP + .B \-column + Query results will be displayed in a table like form, using + whitespace characters to separate the columns and align the + output. + .TP ++.BI \-cmd\ command ++Run ++.I command ++before reading stdin. ++.TP ++.B \-csv ++Set output mode to CSV (comma separated values). ++.TP + .B \-html + Query results will be output as simple HTML tables. + .TP +@@ -182,9 +199,17 @@ Set output field separator. Default is + Set string used to represent NULL values. Default is '' + (empty string). + .TP ++.B \-stats ++Print memory stats before each finalize. ++.TP + .B \-version + Show SQLite version. + .TP ++.BI \-vfs\ name ++Use ++.I name ++as the default VFS. ++.TP + .B \-help + Show help on options and exit. + diff --git a/sqlite.spec b/sqlite.spec index cd42968..a8b74fd 100644 --- a/sqlite.spec +++ b/sqlite.spec @@ -10,7 +10,7 @@ Summary: Library that implements an embeddable SQL database engine Name: sqlite Version: %{rpmver} -Release: 1%{?dist} +Release: 2%{?dist} License: Public Domain Group: Applications/Databases URL: http://www.sqlite.org/ @@ -28,6 +28,8 @@ Patch3: sqlite-3.7.10-pagecache-overflow-test.patch # https://bugzilla.redhat.com/show_bug.cgi?id=801981 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665363 Patch4: sqlite-3.7.15-no-malloc-usable-size.patch +# Man page completion +Patch5: sqlite-3.7.16-man-missing-options.patch BuildRequires: ncurses-devel readline-devel glibc-devel BuildRequires: autoconf %if %{with tcl} @@ -100,6 +102,7 @@ This package contains the tcl modules for %{name}. %patch2 -p1 -b .stupid-openfiles-test %patch3 -p1 -b .pagecache-overflow-test %patch4 -p1 -b .no-malloc-usable-size +%patch5 -p1 -b .man-missing-options # Remove cgi-script erroneously included in sqlite-doc-3070500 rm -f %{name}-doc-%{realver}/search @@ -190,6 +193,9 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Thu May 16 2013 Jan Stanek - 3.7.16.2-2 +- Added missing options to man page (#948862) + * Mon Apr 29 2013 Jan Stanek - 3.7.16.2-1 - update to 3.7.16.2 (http://www.sqlite.org/releaselog/3_7_16_2.html) - add support for aarch64 (rerunning autoconf) (#926568)