Skip to content

Commit

Permalink
Fix doc for rustc "-g" flag
Browse files Browse the repository at this point in the history
The rustc "-g" CLI flag was miss documented to be a synonym of "-C
debug-level=2" and not the correct "-C debuginfo=2".
  • Loading branch information
TheBiggerGuy committed Feb 17, 2019
1 parent 8af675a commit 55c25f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/rustc/src/command-line-arguments.md
Expand Up @@ -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

Expand Down

0 comments on commit 55c25f8

Please sign in to comment.