From 0c1ea07f6aef672c4c07d8c18dc5e7d9cac578e8 Mon Sep 17 00:00:00 2001 From: Marco Raber Date: Thu, 14 Apr 2022 11:31:52 +0200 Subject: [PATCH] Corretto da ne.1 --- edocker.1 | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/edocker.1 b/edocker.1 index a2393ac..b79ccbc 100644 --- a/edocker.1 +++ b/edocker.1 @@ -1,28 +1,25 @@ -.\" Manpage for ne - nginx edit. +.\" Manpage for edocker - docker (compose) editor .\" 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 -ne \- edit nginx conf +edocker \- edit docker (compose) conf .SH SYNOPSIS ne [FILENAME] [-y] [-c EDITOR] [-p sudo] .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 -ne options: +edocker options: .TP .B \-h Display usage .TP -.B \-y -ne does not ask for confirmation to reload the nginx conf -.TP .B \-c [text editor] -ne asks what text editor to use +use an editor other than vim (default) .TP -.B \-p [program] -ne asks what program to use for privileges escalation. e.g. sudo or doas +.B \-f [filename] +if the docker-compose a name other than (docker-compose.yml) it will look for [filename] to edit .SH SEE ALSO -nginx +docker-compose .SH BUGS eh ditemeli voi .SH AUTHOR