diff --git a/neofetch b/neofetch index c47c644a..81e12032 100755 --- a/neofetch +++ b/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 diff --git a/neofetch.1 b/neofetch.1 index 559d4f4b..ed786b39 100644 --- a/neofetch.1 +++ b/neofetch.1 @@ -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