Changeset: d56414b1b45f for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d56414b1b45f
Modified Files:
        clients/mapiclient/mclient.1
Branch: Aug2011
Log Message:

mclient manual: document --encoding option and fix --help description.


diffs (38 lines):

diff --git a/clients/mapiclient/mclient.1 b/clients/mapiclient/mclient.1
--- a/clients/mapiclient/mclient.1
+++ b/clients/mapiclient/mclient.1
@@ -91,6 +91,22 @@ to the empty string in the environment.
 .SS
 General Options
 .TP
+\fB\-\-help\fP (\fB\-?\fP)
+Print usage information and exit.
+.TP
+\fB\-\-encoding=\fP\fIencoding\fP (\fB\-E\fP \fIencoding\fP)
+Specify the character encoding of the input.  The option applies to
+both the standard input of
+.I mclient
+and to the argument of the
+.B \-\-statement
+.RB ( \-s )
+option but not to the contents of files specified on the command line
+or files specified using the
+.B \e<
+command (those must be encoded using UTF-8).  The default encoding is
+taken from the locale.
+.TP
 \fB\-\-language=\fP\fIlanguage\fP (\fB\-l\fP \fIlanguage\fP)
 Specify the query language.  The following languages are recognized:
 .B mal
@@ -103,11 +119,6 @@ option is omitted, the default of
 .B sql
 is assumed.
 .TP
-\fB\-\-help\fP (\fB\-?\fP)
-Print usage information and exit.  If preceded by the
-.B \-\-language
-option, give language-specific help and continue.
-.TP
 \fB\-\-database=\fP\fIdatabase\fP (\fB\-d\fP \fIdatabase\fP)
 Specify the name of the database to connect to.  The \fB-d\fP can be
 omitted if an equally named file does not exist in the current
_______________________________________________
Checkin-list mailing list
Checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to