diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 6ec36d9..ab7eb8f 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -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: diff --git a/CHANGELOG.md b/CHANGELOG.md index c91a00d..c48b2f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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] diff --git a/Makefile b/Makefile index 6fabbd3..9517f2e 100644 --- a/Makefile +++ b/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 diff --git a/README.md b/README.md index d20631d..00ba501 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/main.go b/main.go index 4694d43..17bece8 100644 --- a/main.go +++ b/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.