Added missing options to man page (#948862)

This commit is contained in:
Jan Staněk 2013-05-16 14:53:08 +02:00
parent 57925f4f66
commit f57859a490
2 changed files with 66 additions and 1 deletions

View File

@ -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.

View File

@ -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 <jstanek@redhat.com> - 3.7.16.2-2
- Added missing options to man page (#948862)
* Mon Apr 29 2013 Jan Stanek <jstanek@redhat.com> - 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)