about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorGuy Taylor <thebigguy.co.uk@gmail.com>2019-02-17 14:18:03 +0000
committerGuy Taylor <thebigguy.co.uk@gmail.com>2019-02-17 19:44:45 +0000
commit55c25f8c8d0550f6e866e022a65bf6a331bd3ea8 (patch)
tree8cb8d2e2616d0359bda26241d8a6d94b75524bbb /src
parent8af675a07576940ba24e3d91abd10b029b937946 (diff)
downloadrust-55c25f8c8d0550f6e866e022a65bf6a331bd3ea8.tar.gz
rust-55c25f8c8d0550f6e866e022a65bf6a331bd3ea8.zip
Fix doc for rustc "-g" flag
The rustc "-g" CLI flag was miss documented to be a synonym of "-C
debug-level=2" and not the correct "-C debuginfo=2".
Diffstat (limited to 'src')
-rw-r--r--src/doc/rustc/src/command-line-arguments.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc/src/command-line-arguments.md b/src/doc/rustc/src/command-line-arguments.md
index b60c5524014..380e9b3d388 100644
--- a/src/doc/rustc/src/command-line-arguments.md
+++ b/src/doc/rustc/src/command-line-arguments.md
@@ -42,7 +42,7 @@ This flag prints out various information about the compiler.
 
 ## `-g`: include debug information
 
-A synonym for `-C debug-level=2`.
+A synonym for `-C debuginfo=2`.
 
 ## `-O`: optimize your code