Francois Gouget : testbot/SetWinLocale: Add more information to the usage message.

Alexandre Julliard julliard at winehq.org
Tue Jan 25 15:40:00 CST 2022


Module: tools
Branch: master
Commit: 1f35a8d3ba4d9f2497357fae156b0db037a2f54f
URL:    https://source.winehq.org/git/tools.git/?a=commit;h=1f35a8d3ba4d9f2497357fae156b0db037a2f54f

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Tue Jan 25 16:48:49 2022 +0100

testbot/SetWinLocale: Add more information to the usage message.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 testbot/bin/SetWinLocale | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/testbot/bin/SetWinLocale b/testbot/bin/SetWinLocale
index 0b034b7..42a106b 100755
--- a/testbot/bin/SetWinLocale
+++ b/testbot/bin/SetWinLocale
@@ -452,12 +452,16 @@ if (defined $Usage)
   print "                 . APIs: GetUserGeoID().\n";
   print "                 . Powershell: Set-WinHomeLocation -GeoId CTY-ID\n";
   print "  --system SYS   Specifies the system locale (see --defaults).\n";
+  print "                 . This requires elevated privileges.\n";
   print "                 . Only takes effect after a reboot.\n";
   print "                 . Windows 10 GUI: Time & language -> Language ->\n";
   print "                   Administrative Language Settings -> Change system locale.\n";
   print "                 . APIs: GetSystemDefaultLCID(), GetThreadLocale().\n";
   print "                 . Powershell: Set-WinSystemLocale -SystemLocale SYS\n";
   print "  --utf8         Set the code pages (ACP, MACCP and OEMCP) to UTF-8.\n";
+  print "                 . This requires elevated privileges.\n";
+  print "                 . Only supported on Windows 10+. This will render older Windows\n";
+  print "                   versions unbootable.\n";
   print "                 . Windows 10 GUI: Time & language -> Language ->\n";
   print "                   Administrative Language Settings -> Change system locale ->\n";
   print "                   Beta: Use Unicode UTF-8 for worldwide language support.\n";
@@ -475,8 +479,9 @@ if (defined $Usage)
   print "                 . Windows 10 GUI: Time & language -> Language -> Keyboard ->\n";
   print "                   Override for default input method.\n";
   print "                 . Powershell: Set-WinDefaultInputMethodOverride -InputTip KBD-ID\n";
-  print "  --no-reboot    Do not reboot Windows. Some locale changes will only take\n";
-  print "                 effect after the next reboot.\n";
+  print "  --no-reboot    Do not reboot Windows. Some locale changes only take effect\n";
+  print "                 after a reboot so this option should only be used for\n";
+  print "                 debugging.\n";
   print "  --debug        Show more detailed information about progress.\n";
   print "  --help         Shows this usage message.\n";
   exit 0;




More information about the wine-cvs mailing list