mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-03 16:51:29 +00:00
General: Added --gen-man
This commit is contained in:
5
neofetch
5
neofetch
@@ -3175,6 +3175,10 @@ OTHER
|
|||||||
-v Display error messages.
|
-v Display error messages.
|
||||||
-vv Display a verbose log for error reporting.
|
-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
|
Report bugs to https://github.com/dylanaraps/neofetch/issues
|
||||||
|
|
||||||
@@ -3377,6 +3381,7 @@ get_args() {
|
|||||||
"-vv") set -x; verbose="on" ;;
|
"-vv") set -x; verbose="on" ;;
|
||||||
"--help") usage ;;
|
"--help") usage ;;
|
||||||
"--version") version ;;
|
"--version") version ;;
|
||||||
|
"--gen-man") help2man -N neofetch -o neofetch.1; exit 1 ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
shift
|
shift
|
||||||
|
@@ -260,6 +260,11 @@ Display error messages.
|
|||||||
.TP
|
.TP
|
||||||
\fB\-vv\fR
|
\fB\-vv\fR
|
||||||
Display a verbose log for error reporting.
|
Display a verbose log for error reporting.
|
||||||
|
.PP
|
||||||
|
DEVELOPER
|
||||||
|
.TP
|
||||||
|
\fB\-\-gen\-man\fR
|
||||||
|
Generate a manpage for Neofetch in your PWD.
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
Written by Dylan Araps with help from the following people:
|
Written by Dylan Araps with help from the following people:
|
||||||
.PP
|
.PP
|
||||||
|
Reference in New Issue
Block a user