mirror of
https://github.com/cjbassi/gotop.git
synced 2025-04-25 13:49:00 +08:00
Change -v to -V for version
This commit is contained in:
parent
328395123a
commit
357ff01fe3
2
.github/ISSUE_TEMPLATE/bug_report.md
vendored
2
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@ -8,7 +8,7 @@ about: Template to report bugs.
|
||||
|
||||
Required information:
|
||||
|
||||
- gotop version (`gotop -v`):
|
||||
- gotop version (`gotop -V`):
|
||||
- The output of `uname -a`:
|
||||
- Terminal emulator (e.g. iTerm or gnome terminal):
|
||||
- Any relevenat hardware info:
|
||||
|
@ -10,6 +10,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
- Add vice colorscheme [#115]
|
||||
|
||||
### Changed
|
||||
|
||||
- Change `-v` cli option to `-V` for version
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fix disk I/O [#114] [#116]
|
||||
|
2
Makefile
2
Makefile
@ -2,7 +2,7 @@
|
||||
# requires dockerd to be running
|
||||
# builds the packages for amd64
|
||||
|
||||
VERSION=$(shell go run main.go -v)
|
||||
VERSION=$(shell go run main.go -V)
|
||||
ARCHIVE="gotop_$(VERSION)_linux_amd64"
|
||||
|
||||
.PHONY: all
|
||||
|
@ -92,7 +92,7 @@ To make a custom colorscheme, check out the [template](./colorschemes/template.g
|
||||
`-c`, `--color=NAME` Set a colorscheme.
|
||||
`-m`, `--minimal` Only show CPU, Mem and Process widgets.
|
||||
`-r`, `--rate=RATE` Number of times per second to update CPU and Mem widgets [default: 1].
|
||||
`-v`, `--version` Print version and exit.
|
||||
`-V`, `--version` Print version and exit.
|
||||
`-p`, `--percpu` Show each CPU in the CPU widget.
|
||||
`-a`, `--averagecpu` Show average CPU in the CPU widget.
|
||||
`-s`, `--statusbar` Show a statusbar with the time.
|
||||
|
2
main.go
2
main.go
@ -71,7 +71,7 @@ Options:
|
||||
-h, --help Show this screen.
|
||||
-m, --minimal Only show CPU, Mem and Process widgets.
|
||||
-r, --rate=RATE Number of times per second to update CPU and Mem widgets [default: 1].
|
||||
-v, --version Print version and exit.
|
||||
-V, --version Print version and exit.
|
||||
-p, --percpu Show each CPU in the CPU widget.
|
||||
-a, --averagecpu Show average CPU in the CPU widget.
|
||||
-f, --fahrenheit Show temperatures in fahrenheit.
|
||||
|
Loading…
x
Reference in New Issue
Block a user