1
0
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:
Caleb Bassi 2019-02-16 01:56:35 -08:00
parent 328395123a
commit 357ff01fe3
5 changed files with 8 additions and 4 deletions

View File

@ -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:

View File

@ -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]

View File

@ -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

View File

@ -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.

View File

@ -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.