Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SQLLINE-149] Correct typos #150

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions src/docbkx/manual.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<para>
SQLLine is a pure-Java console based utility for connecting
to relational databases and executing SQL commands. It is
similiar to other command-line database access utilities like
similar to other command-line database access utilities like
<filename>sqlplus</filename> for Oracle, <filename>mysql</filename>
for MySQL, and <filename>isql</filename> for Sybase/SQL Server.
Since it is pure Java, it is platform independent, and will
Expand Down Expand Up @@ -1459,7 +1459,7 @@ Transaction isolation: TRANSACTION_SERIALIZABLE
<title>Description</title>
<para>
Execute an arbitrary metadata method against the current
connection. refpurpose are separated by spaces.
connection. Refpurposes are separated by spaces.

Use "" for a blank String, and null for a null parameter.
For information on available metadata methods, see
Expand Down Expand Up @@ -1583,7 +1583,7 @@ true
Set the mode for displaying results from statements.
This is useful for saving output from SQL statements to
either a visually pleasing format or an easily
parseable format.
parsable format.
</para>
</refsect1>
<refsect1>
Expand Down Expand Up @@ -1850,7 +1850,7 @@ NAME Microsoft
</para></listitem>
<listitem><para>
driver: the driver class that handles the URL. If
unspecifed, SQLLine with automatically
unspecified, SQLLine with automatically
scan the CLASSPATH for an appropriate driver
</para></listitem>
<listitem><para>
Expand Down Expand Up @@ -2488,7 +2488,7 @@ Script closed. Enter "run /tmp/mysession.script" to replay it.
<link linkend="setting_autosave">autosave</link> is
on, then this will cause preferences to be
immediately saved. Otherwise, changed setting can be
saved for future SQLLine session eith the
saved for future SQLLine session with the
<link linkend="command_save">save</link> command.
</para>
</refsect1>
Expand Down Expand Up @@ -2669,7 +2669,7 @@ java.sql.SQLException: ORA-00942: table or view does not exist
<title>autocommit</title>
<para>
If <literal>true</literal>, then new connections will have autocommit
set, otherwise, transactions will need to be explicitely
set, otherwise, transactions will need to be explicitly
<link linkend="command_commit">committed</link> or
<link linkend="command_rollback">rolled back</link>.
Defaults to <literal>true</literal>.
Expand All @@ -2686,7 +2686,7 @@ java.sql.SQLException: ORA-00942: table or view does not exist
to preferences using the
<link linkend="command_set">set</link> command will cause
the preferences to be saved. Otherwise, preferences will
need to be explicitely saved using the
need to be explicitly saved using the
<link linkend="command_save">save</link> command.
Defaults to <literal>false</literal>.
</para>
Expand Down Expand Up @@ -2722,7 +2722,7 @@ java.sql.SQLException: ORA-00942: table or view does not exist
in order to provide them as candidates for tab-completion.
This can be a very slow operation for some databases, do
by default it is off. Table and column information can
always be explicitely retrieved using the
always be explicitly retrieved using the
<link linkend="command_rehash">rehash</link> command.
</para>
</sect1>
Expand Down Expand Up @@ -2783,7 +2783,7 @@ java.sql.SQLException: ORA-00942: table or view does not exist
<sect1 id="setting_maxcolumnwidth">
<title>maxcolumnwidth</title>
<para>
The maximum column width to display for each colummn
The maximum column width to display for each column
before truncating data when using the "table"
<link linkend="setting_outputformat">outputformat</link>.
Defaults to 15.
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/sqlline/SqlLine.java
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ ColorBuffer getColorBuffer() {

/**
* Entry point to creating a {@link ColorBuffer} with color enabled or
* disabled depending on the calue of {@link SqlLineOpts#getColor}.
* disabled depending on the value of {@link SqlLineOpts#getColor}.
*/
ColorBuffer getColorBuffer(String msg) {
return new ColorBuffer(msg, getOpts().getColor());
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/sqlline/SqlLine.properties
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ cmd-usage: Usage: java sqlline.SqlLine \n \
\ -log <file> file to write output\n \
\ -ac <class name> application configuration class name\n \
\ --color=[true/false] control whether color is used for display\n \
\ --csvDelimeter=[delimiter] Delimiter in csv outputFormat\n \
\ --csvDelimiter=[delimiter] Delimiter in csv outputFormat\n \
\ --csvQuoteCharacter=[char] Quote character in csv outputFormat\n \
\ --showHeader=[true/false] show column names in query results\n \
\ --headerInterval=ROWS the interval between which headers are displayed\n \
Expand Down
20 changes: 10 additions & 10 deletions src/main/resources/sqlline/manual.txt
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ verbose
JDBC Driver Support
Introduction

SQLLine is a pure-Java console based utility for connecting to relational databases and executing SQL commands. It is similiar to other command-line database access utilities like sqlplus for Oracle, mysql for MySQL, and isql for Sybase/SQL Server. Since it is pure-Java, it is platform independant, and will run on any platform that can run Java 1.3 or higher.
SQLLine is a pure-Java console based utility for connecting to relational databases and executing SQL commands. It is similar to other command-line database access utilities like sqlplus for Oracle, mysql for MySQL, and isql for Sybase/SQL Server. Since it is pure-Java, it is platform independent, and will run on any platform that can run Java 1.3 or higher.

License and Terms of Use

Expand Down Expand Up @@ -279,7 +279,7 @@ JDBC™ Driver(s) - Since SQLLine uses the Java Database Connectivity package to

Installing SQLLine

There are currently no set standards for installing Java software on different platforms. The simplest method for installing SQLLine in a platform independant way is as follows:
There are currently no set standards for installing Java software on different platforms. The simplest method for installing SQLLine in a platform independent way is as follows:

Create a new directory/folder where you like. This will be referred to as sqllinedir.

Expand Down Expand Up @@ -1072,7 +1072,7 @@ sqlline> !help
!rehash Fetch table and column names for command completion
!rollback Roll back the current transaction (if autocommit is off)
!run Run a script from the specified file
!save Save the current variabes and aliases
!save Save the current variables and aliases
!scan Scan for installed JDBC drivers
!script Start saving a script to a file
!set Set a sqlline variable
Expand Down Expand Up @@ -1279,7 +1279,7 @@ Synopsis

Description

Execute an arbitrary metadata method agains the current connection. refpurpose are separated by spaces. Use "" for a blank String, and null for a null parameter. For information on available metadata methods, see http://java.sun.com/j2se/1.3/docs/api/java/sql/DatabaseMetaData.html.
Execute an arbitrary metadata method against the current connection. Refpurposes are separated by spaces. Use "" for a blank String, and null for a null parameter. For information on available metadata methods, see http://java.sun.com/j2se/1.3/docs/api/java/sql/DatabaseMetaData.html.

Example of "metadata" command

Expand Down Expand Up @@ -1339,7 +1339,7 @@ Synopsis

Description

Set the mode for displaying results from statements. This is useful for saving output from SQL statements to either a visually pleasing format or an easily parseable format.
Set the mode for displaying results from statements. This is useful for saving output from SQL statements to either a visually pleasing format or an easily parsable format.

Example of table output formatting

Expand Down Expand Up @@ -1514,7 +1514,7 @@ Connect to the database defined in the specified properties file. The properties

url: the database URL to which to connect

driver: the driver class that handles the URL. If unspecifed, SQLLine with automatically scan the CLASSPATH for an appropriate driver
driver: the driver class that handles the URL. If unspecified, SQLLine with automatically scan the CLASSPATH for an appropriate driver

user: the username to use to connect to the database. If unspecified, SQLLine will prompt for it.

Expand Down Expand Up @@ -1906,7 +1906,7 @@ Synopsis

Description

Set the specified preference to the specified value. If autosave is on, then this will cause preferences to be immediately saved. Otherwise, changed setting can be saved for future SQLLine session eith the save command.
Set the specified preference to the specified value. If autosave is on, then this will cause preferences to be immediately saved. Otherwise, changed setting can be saved for future SQLLine session with the save command.

Example of "set" command

Expand Down Expand Up @@ -2036,11 +2036,11 @@ trimscripts
verbose
autocommit

If true, then new connections will have autocommit set, otherwise, transactions will need to be explicitely committed or rolled back. Defaults to true. To change the autocommit status for a connection that is already open and active, use the autocommit command instead.
If true, then new connections will have autocommit set, otherwise, transactions will need to be explicitly committed or rolled back. Defaults to true. To change the autocommit status for a connection that is already open and active, use the autocommit command instead.

autosave

When set to true, any changes to preferences using the set command will cause the preferences to be saved. Otherwise, preferences will need to be explicitely saved using the save command. Defaults to false.
When set to true, any changes to preferences using the set command will cause the preferences to be saved. Otherwise, preferences will need to be explicitly saved using the save command. Defaults to false.

color

Expand Down Expand Up @@ -2084,7 +2084,7 @@ The default transaction isolation that will be used for new connections. To chan

maxcolumnwidth

The maximum column width to display for each colummn before truncating data when using the "table" outputformat. Defaults to 15.
The maximum column width to display for each column before truncating data when using the "table" outputformat. Defaults to 15.

maxwidth

Expand Down