Skip to content

Commit efcb5ca

Browse files
committed
Improved help messages for the -g<n> and -gdwarf-<n> options
1 parent 3291049 commit efcb5ca

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

debug/DebugInit.ml

+5-3
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,16 @@ let init () =
3636
init_none ()
3737

3838
let gnu_debugging_help =
39-
" -gdwarf- Generate debug information in DWARF v2 or DWARF v3\n"
39+
{| -gdwarf-2 Generate debug information in DWARF v2 format
40+
-gdwarf-3 Generate debug information in DWARF v3 format
41+
|}
4042

4143
let debugging_help =
4244
{|Debugging options:
4345
-g Generate debugging information
4446
-g<n> Control generation of debugging information
45-
(<n>=0: none, <n>=1: only-globals, <n>=2: globals + locals
46-
without locations, <n>=3: full;)
47+
(<n>=0: none, <n>=1: only globals,
48+
<n>=2: globals + locals without locations, <n>=3: full)
4749
|}
4850
^ (if Configuration.gnu_toolchain then gnu_debugging_help else "")
4951

0 commit comments

Comments
 (0)