From 093974f200d27c5f396e582b6cbb33d55929024a Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 28 Nov 2011 14:37:16 -0600 Subject: Document 'install --devel' Signed-off-by: Jack Nagel --- Library/Contributions/brew_bash_completion.sh | 4 ++-- Library/Contributions/manpages/brew.1.md | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'Library') diff --git a/Library/Contributions/brew_bash_completion.sh b/Library/Contributions/brew_bash_completion.sh index 722083e6f..028920471 100644 --- a/Library/Contributions/brew_bash_completion.sh +++ b/Library/Contributions/brew_bash_completion.sh @@ -127,11 +127,11 @@ _brew_to_completion() local opts=$( local opts=(--force --verbose --debug --use-clang --use-gcc --use-llvm --ignore-dependencies --build-from-source --HEAD - --interactive --fresh $(brew options --compact "$prev")) + --interactive --fresh --devel $(brew options --compact "$prev")) # options that make sense with '--interactive' if [[ "${COMP_WORDS[*]}" =~ "--interactive" ]]; then - opts=(--force --git --use-clang --use-gcc --use-llvm --HEAD) + opts=(--force --git --use-clang --use-gcc --use-llvm --HEAD --devel) fi for o in ${opts[*]}; do diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md index ba7b1df4b..db1b37939 100644 --- a/Library/Contributions/manpages/brew.1.md +++ b/Library/Contributions/manpages/brew.1.md @@ -134,7 +134,7 @@ For the full command list, see the COMMANDS section. * `info` : Print the name and version that will be detected for . - * `install [--force] [--debug] [--ignore-dependencies] [--fresh] [--use-clang] [--use-gcc] [--use-llvm] [--build-from-source] [--HEAD]` : + * `install [--force] [--debug] [--ignore-dependencies] [--fresh] [--use-clang] [--use-gcc] [--use-llvm] [--build-from-source] [--devel] [--HEAD]` : Install . is usually the name of the formula to install, but may also be @@ -165,8 +165,10 @@ For the full command list, see the COMMANDS section. If `--build-from-source` is passed, compile from source even if a bottle is provided for . + If `--devel` is passed, and defines it, install the development version. + If `--HEAD` is passed, and defines it, install the HEAD version, - aka master, trunk, unstable, dev. + aka master, trunk, unstable. To install a newer version of HEAD use `brew rm && brew install --HEAD ` -- cgit v1.2.3