Add utility function to remove '-z' from Option Parser
Since most commands use 'ProjectFlags' but almost all commands can not function properly without a project context, some commands manually strip the flag '-z' (--ignore-project) from the command line option parser. Unify the behaviour for all commands.
Showing
- cabal-install/src/Distribution/Client/CmdBuild.hs 4 additions, 2 deletionscabal-install/src/Distribution/Client/CmdBuild.hs
- cabal-install/src/Distribution/Client/CmdConfigure.hs 4 additions, 2 deletionscabal-install/src/Distribution/Client/CmdConfigure.hs
- cabal-install/src/Distribution/Client/CmdExec.hs 5 additions, 3 deletionscabal-install/src/Distribution/Client/CmdExec.hs
- cabal-install/src/Distribution/Client/ProjectFlags.hs 10 additions, 1 deletioncabal-install/src/Distribution/Client/ProjectFlags.hs
Loading
Please register or sign in to comment