-
Notifications
You must be signed in to change notification settings - Fork 724
Closed
Labels
re: error-messageConcerning error messages delivered to the userConcerning error messages delivered to the usertype: bug
Description
On current master:
$ cabal path foo
Error: [Cabal-7061]
'man' doesn't take any extra arguments: foo
This is a cut-and-paste coding error in PR
cabal/cabal-install/src/Distribution/Client/Main.hs
Lines 1392 to 1397 in 9e5e815
| pathAction :: PathFlags -> [String] -> Action | |
| pathAction pathflags extraArgs globalFlags = do | |
| let verbosity = fromFlag (pathVerbosity pathflags) | |
| unless (null extraArgs) $ | |
| dieWithException verbosity $ | |
| ManpageAction extraArgs |
Copied from here:
cabal/cabal-install/src/Distribution/Client/Main.hs
Lines 1379 to 1384 in 9e5e815
| manpageAction :: [CommandSpec action] -> ManpageFlags -> [String] -> Action | |
| manpageAction commands flags extraArgs _ = do | |
| let verbosity = fromFlag (manpageVerbosity flags) | |
| unless (null extraArgs) $ | |
| dieWithException verbosity $ | |
| ManpageAction extraArgs |
ATTN: @athas
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
re: error-messageConcerning error messages delivered to the userConcerning error messages delivered to the usertype: bug