diff --git a/documentation/bugs.sgml b/documentation/bugs.sgml
index bb8aaa03f1b..fef2fd065ad 100644
--- a/documentation/bugs.sgml
+++ b/documentation/bugs.sgml
@@ -45,7 +45,7 @@
Fiddle with DLL configuration
- Run with --debugmsg +loaddll to figure out which DLLs are
+ Run with WINEDEBUG=+loaddll to figure out which DLLs are
being used, and whether they're being loaded as native or
built-in.
Then make sure you have proper native DLL files in your
@@ -316,9 +316,9 @@
- Re-run the program with the --debugmsg
- +relay option (i.e., wine
- --debugmsg +relay sol.exe).
+ Re-run the program with the WINEDEBUG enviroment variable
+ WINEDEBUG=+relay option (i.e., WINEDEBUG=+relay
+ wine sol.exe).
This will output additional information at the console
@@ -413,7 +413,7 @@
- Redirect all the output of -debugmsg
+ Redirect all the output of WINEDEBUG
to a file.
@@ -432,7 +432,7 @@
all shells:
-$ echo quit | wine -debugmsg +relay [other_options] program_name >& filename.out;
+$ echo quit | WINEDEBUG=+relay wine [other_options] program_name >& filename.out;
$ tail -n 100 filename.out > report_file
@@ -447,7 +447,7 @@
tcsh and other csh-like shells:
-$ wine -debugmsg +relay [other_options] program_name |& tee filename.out;
+$ WINEDEBUG=+relay wine [other_options] program_name |& tee filename.out;
$ tail -n 100 filename.out > report_file
@@ -456,7 +456,7 @@
bash and other sh-like shells:
-$ wine -debugmsg +relay [other_options] program_name 2>&1 | tee filename.out;
+$ WINEDEBUG=+relay wine [other_options] program_name 2>&1 | tee filename.out;
$ tail -n 100 filename.out > report_file