aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorziggys <ziggys@autistici.org>2018-05-01 19:36:27 -0300
committerziggys <ziggys@autistici.org>2018-05-01 19:36:27 -0300
commitecf57872ad4fbf6cff56d88db1d7f36611d091ff (patch)
treeb5efcbca9799dab9e81401682478c1874d1e9e9c
parent854aafea2c83391afff765099d999da993b44954 (diff)
downloadpupm-ecf57872ad4fbf6cff56d88db1d7f36611d091ff.tar
pupm-ecf57872ad4fbf6cff56d88db1d7f36611d091ff.zip
Parse variables from commandline - 2.0.2
-rw-r--r--README.txt17
1 files changed, 16 insertions, 1 deletions
diff --git a/README.txt b/README.txt
index 1050502..cd1a2e3 100644
--- a/README.txt
+++ b/README.txt
@@ -10,6 +10,21 @@ Change variables in pupm.config according to your enviroment. Run the script:
./pupm.sh
-Standard output will be logged in '/tmp/pupm.log'. Cronjob can be configued
+Or parse variables as flags from commandline
+
+./pupm.sh [OPTIONS] <args> ...
+
+
+Examples:
+./pupm.sh -c other.confit will use another file to parse variables
+
+./pupm.sh -d /srv/prosody/modules will use <path> as 'MODULEPATH'
+
+
+Run: ./pupm.sh -h to learn about
+
+
+STDOUT and STDERR will be logged in '/tmp/pupm.log'. Cronjob can be configued
easyly. Use '/tmp/pupm.log' as inputfile for sending notifications with
appropiate tools.
+