summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/mysql.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/client/mysql.cc b/client/mysql.cc
index 4845b6505b9..30e7d75ecaa 100644
--- a/client/mysql.cc
+++ b/client/mysql.cc
@@ -505,10 +505,12 @@ static void usage(int version)
log.\n");
#ifndef __WIN__
printf("\
- --pager[=...] Output type. Default is your ENV variable PAGER.\n\
+ --pager[=...] Pager to use to display results. If you don't supply\n\
+ an option the default pager is taken from your ENV\n\
+ variable PAGER (%s).\n\
Valid pagers are less, more, cat [> filename], etc.\n\
See interactive help (\\h) also. This option does\n\
- not work in batch mode.\n");
+ not work in batch mode.\n", getenv("PAGER") ? getenv("PAGER") : "");
#endif
printf("\
-p[password], --password[=...]\n\