General: Added --gen-man
This commit is contained in:
parent
d35d9a01d7
commit
588c3e971a
2 changed files with 10 additions and 0 deletions
5
neofetch
5
neofetch
|
@ -3175,6 +3175,10 @@ OTHER
|
|||
-v Display error messages.
|
||||
-vv Display a verbose log for error reporting.
|
||||
|
||||
DEVELOPER
|
||||
|
||||
--gen-man Generate a manpage for Neofetch in your PWD.
|
||||
|
||||
|
||||
Report bugs to https://github.com/dylanaraps/neofetch/issues
|
||||
|
||||
|
@ -3377,6 +3381,7 @@ get_args() {
|
|||
"-vv") set -x; verbose="on" ;;
|
||||
"--help") usage ;;
|
||||
"--version") version ;;
|
||||
"--gen-man") help2man -N neofetch -o neofetch.1; exit 1 ;;
|
||||
esac
|
||||
|
||||
shift
|
||||
|
|
|
@ -260,6 +260,11 @@ Display error messages.
|
|||
.TP
|
||||
\fB\-vv\fR
|
||||
Display a verbose log for error reporting.
|
||||
.PP
|
||||
DEVELOPER
|
||||
.TP
|
||||
\fB\-\-gen\-man\fR
|
||||
Generate a manpage for Neofetch in your PWD.
|
||||
.SH AUTHOR
|
||||
Written by Dylan Araps with help from the following people:
|
||||
.PP
|
||||
|
|
Loading…
Reference in a new issue