Corretto da ne.1

This commit is contained in:
Marco Raber 2022-04-14 11:31:52 +02:00
parent 58ae33b3b6
commit 0c1ea07f6a

View File

@ -1,28 +1,25 @@
.\" Manpage for ne - nginx edit. .\" Manpage for edocker - docker (compose) editor
.\" Contact marco@raber.me to correct errors or typos. .\" Contact marco@raber.me to correct errors or typos.
.TH man 8 "9 April 2022" "1.0" "ne man page" .TH man 8 "14 April 2022" "1.0" "edocker man page"
.SH NAME .SH NAME
ne \- edit nginx conf edocker \- edit docker (compose) conf
.SH SYNOPSIS .SH SYNOPSIS
ne [FILENAME] [-y] [-c EDITOR] [-p sudo] 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. edocker is a script that launches your preferred text editor to edit the docker-compose file. Once you close the editor checks if the file changed and, if asked to, makes docker recreate the container(s).
.SH OPTIONS .SH OPTIONS
ne options: edocker options:
.TP .TP
.B \-h .B \-h
Display usage Display usage
.TP .TP
.B \-y
ne does not ask for confirmation to reload the nginx conf
.TP
.B \-c [text editor] .B \-c [text editor]
ne asks what text editor to use use an editor other than vim (default)
.TP .TP
.B \-p [program] .B \-f [filename]
ne asks what program to use for privileges escalation. e.g. sudo or doas if the docker-compose a name other than (docker-compose.yml) it will look for [filename] to edit
.SH SEE ALSO .SH SEE ALSO
nginx docker-compose
.SH BUGS .SH BUGS
eh ditemeli voi eh ditemeli voi
.SH AUTHOR .SH AUTHOR