git.iko.soy/typeable/cabal2nix
on master help sign in
Update usage
commit3e1a648ebf8f1975cc271e3329cb9050f449a62e authorBenno Fünfstück <benno.fuenfstueck@gmail.com> dateSat 12 Apr 2014, 16:46 (13 years ago) parent2c45ef1
1 file changed+4−2
src/cabal2nix.hs+4−2
src/cabal2nix.hs+4−2
@@ -50,15 +50,17 @@ options =
5050 ]
5151
5252usage :: String
53−usage = usageInfo "Usage: cabal2nix [options] url-to-cabal-file" options ++ unlines
53+usage = usageInfo "Usage: cabal2nix [options] URI" options ++ unlines
5454 [ ""
5555 , "Recognized URI schemes:"
5656 , ""
5757 , " cabal://pkgname-pkgversion download the specified package from Hackage"
5858 , " cabal://pkgname download latest version of the specified package from Hackage"
59− , " http://host/path fetch the Cabal file via HTTP"
6059 , " file:///local/path load the Cabal file from the local disk"
6160 , " /local/path abbreviated version of file URI"
61+ , ""
62+ , "If URI is a local path and is not a file, then it will be used as the source of the package. Otherwise, the source"
63+ , "will be downloaded from hackage."
6264 ]
6365
6466cmdlineError :: String -> IO a