]> sourceware.org Git - newlib-cygwin.git/commit
* locale.cc (usage): Restructure, rephrase, add new options. Drop
authorCorinna Vinschen <corinna@vinschen.de>
Mon, 10 Oct 2011 09:50:43 +0000 (09:50 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Mon, 10 Oct 2011 09:50:43 +0000 (09:50 +0000)
commit9198ac4dc6f5b3c32e1bd8964a1e42799fd6ec91
tree097a1c43a15d9a7a163e29fd6badedd3cc21cfa9
parentf818494c6372b5d0184ec4065876b065c6b34bfe
* locale.cc (usage): Restructure, rephrase, add new options.  Drop
arguments, don't exit.
(print_version): New function.
(longopts): Add -f, -n, and -V options.  Reorder.
(opts): Add -f, -n, and -V options.
(main): Call GetSystemDefaultUILanguage for -s option.  Call
GetUserDefaultUILanguage for -u option.  Add -f and -n options and
call GetUserDefaultLCID and GetSystemDefaultLCID respectively.  Return
0 after calling usage in -h case.  Add -V option and call print_version.
Don't print full usage in default case, rather just a short help message
similar to GNU tools.
* utils.sgml (locale): Align to above changes.  Rephrase description.
winsup/utils/ChangeLog
winsup/utils/locale.cc
winsup/utils/utils.sgml
This page took 0.028895 seconds and 5 git commands to generate.