[tools 2/2] testbot/SetWinLocale: Add more information to the usage message.

Francois Gouget fgouget at codeweavers.com
Tue Jan 25 09:48:49 CST 2022


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/bin/SetWinLocale | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/testbot/bin/SetWinLocale b/testbot/bin/SetWinLocale
index b6992d92e5..f725e30fd7 100755
--- a/testbot/bin/SetWinLocale
+++ b/testbot/bin/SetWinLocale
@@ -460,12 +460,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";
@@ -483,8 +487,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;
-- 
2.30.2



More information about the wine-devel mailing list