Hi.
> What is the purpose of the "install" command's "--only" flag? The
> documentation says "Only installs the package in the current
> directory", but this is already supported by running "cabal install"
> in the current directory without arguments. Would it be fine if I
> removed "--only"?
No, please do not remove it. Running install without --only causes all sorts of things to happen, because install is the magic command. The --only flag is for use after you have already run build and really only does the installation, i.e. It behaves comparable to Setup install.
Cheers,
Andres