Add --version and update docs
This commit is contained in:
parent
b05226b817
commit
4716bb7d0d
4 changed files with 12 additions and 1 deletions
1
1.8.md
1
1.8.md
|
@ -15,6 +15,7 @@
|
|||
- Supress `getconfig` and `getscriptdir` errors.
|
||||
- Fix issue when title and background were both color `7`.
|
||||
- Fix issues with `bc` and the scale option. **[@maddcoder](https://github.com/maddcoder)**
|
||||
- Added `--version` to print the neofetch version.
|
||||
|
||||
|
||||
### Info
|
||||
|
|
|
@ -468,6 +468,11 @@ alias fetch2="fetch \
|
|||
--config /path/to/config Specify a path to a custom config file
|
||||
--config none Launch the script without a config file
|
||||
--help Print this text and exit
|
||||
--version Show neofetch version
|
||||
--test Launch the script with all functions / options enabled.
|
||||
This should only be used for testing purposes, ie Travis.CI.
|
||||
-v Display error messages.
|
||||
-vv Display a verbose log for error reporting.
|
||||
|
||||
|
||||
<!-- }}} -->
|
||||
|
|
2
neofetch
2
neofetch
|
@ -2957,6 +2957,7 @@ usage () { cat << EOF
|
|||
--config /path/to/config Specify a path to a custom config file
|
||||
--config none Launch the script without a config file
|
||||
--help Print this text and exit
|
||||
--version Show neofetch version
|
||||
--test Launch the script with all functions / options enabled.
|
||||
This should only be used for testing purposes, ie Travis.CI.
|
||||
-v Display error messages.
|
||||
|
@ -3154,6 +3155,7 @@ while [ "$1" ]; do
|
|||
-v) verbose="on" ;;
|
||||
-vv) set -x; verbose="on" ;;
|
||||
--help) usage ;;
|
||||
--version) printf "%s\n" "Neofetch 1.8"; exit ;;
|
||||
esac
|
||||
|
||||
shift
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.TH NEOFETCH "1" "March 2016" "1.5" "User Commands"
|
||||
.TH NEOFETCH "1" "May 2016" "1.8" "User Commands"
|
||||
.SH NAME
|
||||
neofetch \- simple system information script
|
||||
|
||||
|
@ -261,6 +261,9 @@ Launch the script without a config file
|
|||
Launch the script with all functions / options enabled.
|
||||
This should only be used for testing purposes, ie Travis.CI.
|
||||
.TP
|
||||
.B \--version
|
||||
Show neofetch version.
|
||||
.TP
|
||||
.B \-v
|
||||
Display error messages.
|
||||
.TP
|
||||
|
|
Loading…
Reference in a new issue