diff options
author | David Waern <david.waern@gmail.com> | 2012-05-16 02:27:56 +0200 |
---|---|---|
committer | David Waern <david.waern@gmail.com> | 2012-05-16 02:27:56 +0200 |
commit | 27672d7a5bbc3dbd26de17472f10e41f71b9d110 (patch) | |
tree | 54be47591bfbb2a5acfd8990856a04437304c04f /src/Haddock/Options.hs | |
parent | b011c1a812c54e5f564fff7b15c1350ae5a78154 (diff) | |
parent | 3eb6d272850950e4d0c41ed1169258e8c332dbed (diff) |
Merge http://code.haskell.org/~thielema/haddock/ into ghc-7.4
Diffstat (limited to 'src/Haddock/Options.hs')
-rw-r--r-- | src/Haddock/Options.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Haddock/Options.hs b/src/Haddock/Options.hs index 792c0be3..46f9def7 100644 --- a/src/Haddock/Options.hs +++ b/src/Haddock/Options.hs @@ -126,7 +126,7 @@ options backwardsCompat = Option ['t'] ["title"] (ReqArg Flag_Heading "TITLE") "page heading", Option ['q'] ["qual"] (ReqArg Flag_Qualification "QUAL") - "qualification of names, one of \n'none' (default), 'full', 'local'\n'relative' or 'abbreviate'", + "qualification of names, one of \n'none' (default), 'full', 'local'\n'relative' or 'aliased'", Option ['?'] ["help"] (NoArg Flag_Help) "display this help and exit", Option ['V'] ["version"] (NoArg Flag_Version) @@ -237,7 +237,7 @@ qualification flags = ["full"] -> Right OptFullQual ["local"] -> Right OptLocalQual ["relative"] -> Right OptRelativeQual - ["abbreviate"] -> Right OptAbbreviateQual + ["aliased"] -> Right OptAliasedQual [arg] -> Left $ "unknown qualification type " ++ show arg _:_ -> Left "qualification option given multiple times" |