diff --git a/man1/locale.1 b/man1/locale.1 index 9e9818646..407f7c8a9 100644 --- a/man1/locale.1 +++ b/man1/locale.1 @@ -86,7 +86,7 @@ the values of all keywords in that category are displayed. .PP When arguments are supplied, the following options are meaningful: .TP -.BR "\-c" ", " \-\-category\-name" +.BR \-c ", " \-\-category\-name For a category name argument, write the name of the locale category on a separate line preceding the list of keyword values for that category. @@ -100,29 +100,28 @@ It can be combined with the .B \-k option. .TP -.BR "\-k" ", " "\-\-keyword\-name" +.BR \-k ", " \-\-keyword\-name For each keyword whose value is being displayed, include also the name of that keyword, so that the output has the format: \fIkeyword\fP="\fIvalue\fP" - .PP The .I locale command also knows about the following options: .TP -.BR "\-v" ", " "\-\-verbose" +.BR \-v ", " \-\-verbose Display additional information for some command-line option and argument combinations. .TP -.BR "\-?" ", " "\-\-help" +.BR \-? ", " \-\-help Display a summary of command-line options and arguments and exit. .TP -.BR "\-\-usage" +.BR \-\-usage Display a short usage message and exit. .TP -.BR "\-V" ", " "\-\-version" +.BR \-V ", " \-\-version Display the program version and exit. .SH CONFORMING TO POSIX.1-2001, POSIX.1-2008 @@ -142,20 +141,25 @@ LC_ADDRESS="en_US.UTF\-8" LC_TELEPHONE="en_US.UTF\-8" LC_MEASUREMENT="en_US.UTF\-8" LC_IDENTIFICATION="en_US.UTF\-8" -LC_ALL=en_US.UTF\-8 +LC_ALL= + $ \fBlocale date_fmt\fP %a %b %e %H:%M:%S %Z %Y + $ \fBlocale \-k date_fmt\fP date_fmt="%a %b %e %H:%M:%S %Z %Y" + $ \fBlocale \-ck date_fmt\fP LC_TIME date_fmt="%a %b %e %H:%M:%S %Z %Y" + $ \fBlocale LC_MESSAGES\fP ^[yY].* ^[nN].* Yes No UTF\-8 + $ \fBlocale \-k LC_MESSAGES\fP yesexpr="^[yY].*" noexpr="^[nN].*"