Changeset: 7771a31f25a6 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=7771a31f25a6 Modified Files: clients/mapiclient/mclient.1 Branch: Mar2018 Log Message:
Man page magic: use \- for options. diffs (39 lines): diff --git a/clients/mapiclient/mclient.1 b/clients/mapiclient/mclient.1 --- a/clients/mapiclient/mclient.1 +++ b/clients/mapiclient/mclient.1 @@ -128,7 +128,7 @@ is assumed. .TP \fB\-\-database=\fP\fIdatabase\fP (\fB\-d\fP \fIdatabase\fP) Specify the name or URI of the database to connect to. -The \fB-d\fP can be omitted if an equally named file does not exist in +The \fB\-d\fP can be omitted if an equally named file does not exist in the current directory. As such, the first non-option argument will be interpreted as database to connect to if the argument does not exist as file. @@ -162,7 +162,7 @@ The timer mode \fBperformance\fP shows t All timings are reported on stderr. .br \fBNote\fP that the client-measured wall-clock time is reported per query -\fBonly\fP when options \fB--interactive\fP or \fB--echo\fP are used, +\fBonly\fP when options \fB\-\-interactive\fP or \fB\-\-echo\fP are used, because only then does mclient send individual lines (statements) of the SQL script to the server. Otherwise, when mclient sends the SQL script in large(r) batch(es), only the total wall-clock time per batch is measured and @@ -429,7 +429,7 @@ is the name of the table, .I $db is the name of the database. .PP -mclient -d $db -s \(dqCOPY INTO $table FROM '$file' USING DELIMITERS ',','\e\en','\e\(dq'\(dq +mclient \-d $db \-s \(dqCOPY INTO $table FROM '$file' USING DELIMITERS ',','\e\en','\e\(dq'\(dq .PP Efficiently import data from a CSV file into a table when the file is to be read by mclient (e.g. the server has no access to the file). @@ -440,7 +440,7 @@ is the name of the table, .I $db is the name of the database. .PP -mclient -d $db -s \(dqCOPY INTO $table FROM STDIN USING DELIMITERS ',','\e\en','\e\(dq'\(dq - < $file +mclient \-d $db \-s \(dqCOPY INTO $table FROM STDIN USING DELIMITERS ',','\e\en','\e\(dq'\(dq \- < $file .PP Note that in this latter case, if a count of records is supplied, it should be at least as large as the number of records actually present _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list