@@ -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