FAQ: fix -- to — conversion.

Closes Homebrew/homebrew#47523.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Zhuoyun Wei 2015-12-30 15:53:48 +08:00 committed by Mike McQuaid
parent 090b133a01
commit bb38d90bce

View File

@ -93,7 +93,7 @@ following conditions:
* Options were passed to the install command i.e. `brew install $FORMULA`
will use a bottled version of $FORMULA, but
`brew install $FORMULA enable-bar` will trigger a source build.
`brew install $FORMULA --enable-bar` will trigger a source build.
* The `--build-from-source` option is invoked.
* The environment variable `HOMEBREW_BUILD_FROM_SOURCE` is set.
* The machine is not running OS X 10.8+ as all bottled builds are
@ -203,8 +203,8 @@ then `brew link` it. Like so:
```bash
$ cd foo-0.1
$ brew diy
./configure prefix=/usr/local/Cellar/foo/0.1
$ ./configure prefix=/usr/local/Cellar/foo/0.1
./configure --prefix=/usr/local/Cellar/foo/0.1
$ ./configure --prefix=/usr/local/Cellar/foo/0.1
[snip]
$ make && make install
$ brew link foo