Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2010-02-10 18:58:59 +0300
committerCorinna Vinschen <corinna@vinschen.de>2010-02-10 18:58:59 +0300
commit374a555fda45aacab29bfc056cad0eb677b63a1f (patch)
tree2ffefb0a91db740e781f3c1ef798b0b06c58ba0d
parentbb6d8123dbb35062825bf67e7e42d22dfa0927b4 (diff)
* getlocale.c (usage): Change text slightly.
-rw-r--r--winsup/utils/ChangeLog4
-rw-r--r--winsup/utils/getlocale.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog
index 6d0b69fc8..28d8be499 100644
--- a/winsup/utils/ChangeLog
+++ b/winsup/utils/ChangeLog
@@ -1,5 +1,9 @@
2010-02-10 Corinna Vinschen <corinna@vinschen.de>
+ * getlocale.c (usage): Change text slightly.
+
+2010-02-10 Corinna Vinschen <corinna@vinschen.de>
+
* getlocale.c (main): Restrict -a loop to avoid psudo language entries
on Vista and later.
diff --git a/winsup/utils/getlocale.c b/winsup/utils/getlocale.c
index d75ef660f..4356701a6 100644
--- a/winsup/utils/getlocale.c
+++ b/winsup/utils/getlocale.c
@@ -40,11 +40,11 @@ usage (FILE * stream, int status)
{
fprintf (stream,
"Usage: %s [-asuh]\n"
- "Print Windows locale(s)\n"
+ "Print default locale or list of all supported locales\n"
"\n"
"Options:\n"
"\n"
- " -a, --all List all available locales\n"
+ " -a, --all List all available supported locales\n"
" -s, --system Print system default locale\n"
" (default is current user default locale)\n"
" -u, --utf Attach \".UTF-8\" to the result\n"