Changeset: e53986a91871 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e53986a91871 Modified Files: clients/mapiclient/mclient.1 clients/mapiclient/mclient.c Branch: Mar2018 Log Message:
mclient: timermode argument of new --timer option is mandatory, i.e., not optional diffs (24 lines): diff --git a/clients/mapiclient/mclient.1 b/clients/mapiclient/mclient.1 --- a/clients/mapiclient/mclient.1 +++ b/clients/mapiclient/mclient.1 @@ -154,7 +154,7 @@ When reading from standard input, interp (backslash) specially. See the section BACKSLASH COMMANDS below. .TP -\fB\-\-timer\fP[\fB=\fP\fItimermode\fP] +\fB\-\-timer\fP\fB=\fP\fItimermode\fP The \fItimer\fP command controls the format of the time reported for queries. The default mode is \fBclock\fP which reports on the wall-clock time in a human friendly way. The timer mode \fBnone\fP turns off timing reporting. diff --git a/clients/mapiclient/mclient.c b/clients/mapiclient/mclient.c --- a/clients/mapiclient/mclient.c +++ b/clients/mapiclient/mclient.c @@ -3013,7 +3013,7 @@ main(int argc, char **argv) {"history", 0, 0, 'H'}, {"host", 1, 0, 'h'}, {"interactive", 0, 0, 'i'}, - {"timer", 2, 0, 't'}, + {"timer", 1, 0, 't'}, {"language", 1, 0, 'l'}, {"log", 1, 0, 'L'}, {"null", 1, 0, 'n'}, _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list