Commit ed9e62f2 authored by Ben Gamari's avatar Ben Gamari 🐢

users-guide: Move :shortdesc:s to mkUserGuidePart

parent 97ee53a5
......@@ -139,8 +139,6 @@ them all in dependency order.
``C:\Documents and Settings\user name``.
.. ghc-flag:: -fshow-loaded-modules
:shortdesc: Show the names of modules that GHCi loaded after a
:ghci-cmd:`:load` command.
:type: dynamic
:default: off
......
......@@ -459,7 +459,6 @@ Options affecting code generation
no-op on that platform.
.. ghc-flag:: -fPIE
:shortdesc: Generate code for a position-independent executable (where available)
:type: dynamic
:category: codegen
......@@ -889,7 +888,6 @@ for example).
want ``-rdynamic``.
.. ghc-flag:: -pie
:shortdesc: Instruct the linker to produce a position-independent executable.
:type: dynamic
:category: linking
......
......@@ -21,6 +21,16 @@ linkingOptions =
"Generate position-independent code (where available)"
, flagType = DynamicFlag
}
, flag { flagName = "-fPIE"
, flagDescription =
"Generate code for a position-independent executable (where available)"
, flagType = DynamicFlag
}
, flag { flagName = "-pie"
, flagDescription =
"Instruct the linker to produce a position-independent executable."
, flagType = DynamicFlag
}
, flag { flagName = "-dynload"
, flagDescription =
"Selects one of a number of modes for finding shared libraries at runtime."
......
......@@ -85,4 +85,8 @@ verbosityOptions =
, flagDescription = "Show constraints when reporting typed holes"
, flagType = DynamicFlag
}
, flag { flagName = "-fshow-loaded-modules"
, flagDescription = "Show the names of modules that GHCi loaded after a :ghci-cmd:`:load` command."
, flagType = DynamicFlag
}
]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment