new_argument_parse #1

Merged
mraber merged 3 commits from new_argument_parse into master 2022-04-09 15:37:26 +02:00
Showing only changes of commit 58436a7f94 - Show all commits

9
ne.1
View File

@ -1,10 +1,10 @@
.\" Manpage for ne - nginx edit. .\" Manpage for ne - nginx edit.
.\" Contact marco@raber.me to correct errors or typos. .\" Contact marco@raber.me to correct errors or typos.
.TH man 8 "31 March 2022" "1.0" "ne man page" .TH man 8 "9 April 2022" "1.0" "ne man page"
.SH NAME .SH NAME
ne \- edit nginx conf ne \- edit nginx conf
.SH SYNOPSIS .SH SYNOPSIS
ne [FILENAME] [-y] [-c EDITOR] ne [FILENAME] [-y] [-c EDITOR] [-p sudo]
.SH DESCRIPTION .SH DESCRIPTION
ne is a script that launches your preferred text editor to edit the nginx configuration. Once you close the editor it will perform a check on the conf and, if asked to, makes nginx reload the configuration. ne is a script that launches your preferred text editor to edit the nginx configuration. Once you close the editor it will perform a check on the conf and, if asked to, makes nginx reload the configuration.
.SH OPTIONS .SH OPTIONS
@ -18,9 +18,12 @@ ne does not ask for confirmation to reload the nginx conf
.TP .TP
.B \-c [text editor] .B \-c [text editor]
ne asks what text editor to use ne asks what text editor to use
.TP
.B \-p [program]
ne asks what program to use for privileges escalation. e.g. sudo or doas
.SH SEE ALSO .SH SEE ALSO
nginx nginx
.SH BUGS .SH BUGS
Se fai ne -c muore tutto perchè non ricordo rip eh ditemeli voi
.SH AUTHOR .SH AUTHOR
Marco Raber (marco@raber.me) Marco Raber (marco@raber.me)