RefactoringTools / HaRe

The Haskell Refactoring Tool
http://www.cs.kent.ac.uk/projects/refactor-fp/
Other
139 stars 32 forks source link

<command> not supported #4

Open alanz opened 8 years ago

alanz commented 8 years ago

Originally https://github.com/alanz/HaRe/issues/21 by @atondwal

Built from master with

sh-4.2$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.4.1
sh-4.2$ cabal --version
cabal-install version 1.22.6.0
using version 1.22.4.0 of the Cabal library 

I run into:

sh-4.2$ ghc-hare help
"help" not supported

ghc-hare version 0.7.2.8
Usage:
         ghc-hare demote [-g GHC_opt1 -g GHC_opt2 ...] filename line col
         ghc-hare dupdef [-g GHC_opt1 -g GHC_opt2 ...] filename newname line col
         ghc-hare iftocase [-g GHC_opt1 -g GHC_opt2 ...] filename startline startcol endline endcol
         ghc-hare liftOneLevel [-g GHC_opt1 -g GHC_opt2 ...] filename line col
         ghc-hare liftToTopLevel [-g GHC_opt1 -g GHC_opt2 ...] filename line col
         ghc-hare rename [-g GHC_opt1 -g GHC_opt2 ...] filename newname line col
         ghc-hare help

  -m FILE    --mainfile=FILE  Main file name if not specified in cabal file
  -g ghcOpt  --ghcOpt=ghcOpt  GHC options
  -v         --verbose        debug logging on
  -b sep     --boundary=sep   specify line separator (default is Nul string)

and this is the case for any command I try.