We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2cca01 commit ef4dde2Copy full SHA for ef4dde2
README.md
@@ -39,6 +39,16 @@ brew install mactop
39
sudo mactop
40
```
41
42
+## Updating via Homebrew
43
+
44
+```bash
45
+brew update
46
+```
47
48
49
+brew upgrade mactop
50
51
52
## Installation
53
54
To install `mactop`, follow these steps:
main.go
@@ -250,7 +250,7 @@ func StderrToLogfile(logfile *os.File) {
250
func main() {
251
252
version := "v0.1.5"
253
- if len(os.Args) > 1 && os.Args[1] == "--version" {
+ if len(os.Args) > 1 && os.Args[1] == "--version" || len(os.Args) > 1 && os.Args[1] == "-v" {
254
fmt.Println("mactop version:", version)
255
os.Exit(0)
256
}
0 commit comments