brew.md: Improve explanation (#1243)

This commit is contained in:
Marlowe W 2017-01-15 13:58:18 +08:00 committed by Agniva De Sarker
parent 7a2208f2ec
commit 3ad200b9d0
2 changed files with 14 additions and 6 deletions

View File

@ -10,13 +10,13 @@
`brew install {{formula}}`
- List installed formulae [with matching name]:
- List all installed formulae:
`brew list {{[text]}}`
`brew list`
- Get latest version of installed formula (passing no formula updates all installed formulae):
`brew upgrade {{[formula]}}`
`brew upgrade {{formula}}`
- Update brew:
@ -25,3 +25,7 @@
- Switch version of formula:
`brew switch {{formula}} {{version}}`
- Display information about formula, which contains formula version, installed path, dependencies, etc.:
`brew info {{formula}}`

View File

@ -10,13 +10,13 @@
`brew install {{formula}}`
- List installed formulae [with matching name]:
- List all installed formulae:
`brew list {{[text]}}`
`brew list`
- Get latest version of installed formula (passing no formula updates all installed formulae):
`brew upgrade {{[formula]}}`
`brew upgrade {{formula}}`
- Update brew:
@ -25,3 +25,7 @@
- Switch version of formula:
`brew switch {{formula}} {{version}}`
- Display information about formula, which contains formula version, installed path, dependencies, etc.:
`brew info {{formula}}`