Permalink
Browse files

Make '--dependencies-only' a synonym for '--only-dependencies'.

  • Loading branch information...
1 parent 907ea04 commit 9e0a76464a7a80bbf5a162bf386ca05771bcf104 @23Skidoo 23Skidoo committed Nov 16, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 cabal-install/Distribution/Client/Setup.hs
@@ -795,6 +795,11 @@ installOptions showOrParseArgs =
installOnlyDeps (\v flags -> flags { installOnlyDeps = v })
(yesNoOpt showOrParseArgs)
+ , option [] ["dependencies-only"]
+ "A synonym for --only-dependencies"
+ installOnlyDeps (\v flags -> flags { installOnlyDeps = v })
+ (yesNoOpt showOrParseArgs)
+
, option [] ["root-cmd"]
"Command used to gain root privileges, when installing with --global."
installRootCmd (\v flags -> flags { installRootCmd = v })

0 comments on commit 9e0a764

Please sign in to comment.