General: Changed manpage generation command

This commit is contained in:
Muhammad Herdiansyah 2016-12-25 19:51:42 +07:00
parent 139b37d5a0
commit c7f9283bde
2 changed files with 12 additions and 8 deletions

View File

@ -3122,7 +3122,9 @@ get_process_name() {
usage() { printf "%s" "\ usage() { printf "%s" "\
Usage: neofetch --option \"value\" --option \"value\" Usage: neofetch --option \"value\" --option \"value\"
Neofetch is a CLI system information tool written in BASH. Neofetch is a CLI system information tool written in BASH. Neofetch
displays information about your system next to an image, your OS logo,
or any ASCII file of your choice.
NOTE: Every launch flag has a config option. NOTE: Every launch flag has a config option.
@ -3280,7 +3282,7 @@ OTHER
DEVELOPER DEVELOPER
--gen-man Generate a manpage for Neofetch in your PWD. --gen-man Generate a manpage for Neofetch in your PWD. (Requires GNU help2man)
Report bugs to https://github.com/dylanaraps/neofetch/issues Report bugs to https://github.com/dylanaraps/neofetch/issues
@ -3294,7 +3296,7 @@ Neofetch 2.1.0
Copyright (c) 2016 Dylan Araps Copyright (c) 2016 Dylan Araps
License MIT: Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the 'Software'), to deal of this software and associated documentation files (the 'Software'), to deal
in the Software without restriction, including without limitation the rights in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@ -3472,7 +3474,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 ;; "--gen-man") help2man -n"A fast, highly customizable system info script" -N ./neofetch -o neofetch.1; exit 1 ;;
esac esac
shift shift

View File

@ -1,12 +1,14 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3. .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3.
.TH NEOFETCH "1" "December 2016" "Neofetch 2.1.0" "User Commands" .TH NEOFETCH "1" "December 2016" "Neofetch 2.1.0" "User Commands"
.SH NAME .SH NAME
Neofetch \- manual page for Neofetch 2.1.0 Neofetch \- A fast, highly customizable system info script
.SH SYNOPSIS .SH SYNOPSIS
.B neofetch .B neofetch
\fI\,--option "value" --option "value"\/\fR \fI\,--option "value" --option "value"\/\fR
.SH DESCRIPTION .SH DESCRIPTION
Neofetch is a CLI system information tool written in BASH. Neofetch is a CLI system information tool written in BASH. Neofetch
displays information about your system next to an image, your OS logo,
or any ASCII file of your choice.
.PP .PP
NOTE: Every launch flag has a config option. NOTE: Every launch flag has a config option.
.SH OPTIONS .SH OPTIONS
@ -267,7 +269,7 @@ Display a verbose log for error reporting.
DEVELOPER DEVELOPER
.TP .TP
\fB\-\-gen\-man\fR \fB\-\-gen\-man\fR
Generate a manpage for Neofetch in your PWD. Generate a manpage for Neofetch in your PWD. (Requires GNU help2man)
.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
@ -277,7 +279,7 @@ Report bugs to https://github.com/dylanaraps/neofetch/issues
.SH COPYRIGHT .SH COPYRIGHT
Copyright \(co 2016 Dylan Araps Copyright \(co 2016 Dylan Araps
.PP .PP
License MIT: Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the 'Software'), to deal of this software and associated documentation files (the 'Software'), to deal
in the Software without restriction, including without limitation the rights in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell to use, copy, modify, merge, publish, distribute, sublicense, and/or sell