From 533dda7ad7d8b20407d0bc750f1dbdbb69308d1c Mon Sep 17 00:00:00 2001 From: Cesura Date: Wed, 7 Sep 2022 02:43:05 +0300 Subject: [PATCH] Update config template with new script help --- templates/config.html | 47 +++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 24 deletions(-) diff --git a/templates/config.html b/templates/config.html index 0666e71..c36b911 100644 --- a/templates/config.html +++ b/templates/config.html @@ -141,30 +141,29 @@
-
Usage: pastey [-h] [-v] [-f] -p param_value arg1 [arg2...]
-
-Script description here.
-
-Available options:
-
--h, --help      Print this help and exit
--v, --verbose   Print script debug info
--c, --content   Pass the content of the paste in a simple argument
--e, --encrypt   Encrypt the paste content
--f, --file		Read the content from this file. If file is "-", read from stdin
--s, --single    Create a paste that expires after the first view
--t, --title     Set the title of the paste
--x, --expiration
-Set the time in hours after which the paste expires
-
---              Stop further option parsing
-Arguments passed after the -- option are evaluated
-as a command, and that command's output is pasted.
-The full command is used a the title.
-
-If zero arguments are passed,
-or none of --content, --file or -- are passed,
-content is read from stdin.
+
Usage: pastey [-h] [-e] [-f INFILE] [-s] [-t title] [-x time_hrs] [-- command]
+
+  CLI interface to pastey.
+  
+  Available options:
+  
+  -h, --help      Print this help and exit
+  -e, --encrypt   Encrypt the paste content
+  -f, --file		Read the content from this file.
+  -s, --single    Create a paste that expires after the first view
+  -t, --title     Set the title of the paste
+  -x, --expiration
+                  Set the time in hours after which the paste expires
+                  (Default is expiration is disabled)
+                      
+  --              Stop further option parsing
+                  Arguments passed after the -- option are evaluated
+                  as a command, and that command's output is pasted.
+                  The full command is used as the title.
+  
+  If zero arguments are passed,
+  or none of --file or -- are passed,
+  content is read from stdin.