Update config template with new script help

pull/31/head 0.5.1
Cesura 2 years ago
parent cbe4b26414
commit 533dda7ad7

@ -141,29 +141,28 @@
<div class="collapse mt-3" style="text-align: left !important; margin-left:25%;" id="script-help"> <div class="collapse mt-3" style="text-align: left !important; margin-left:25%;" id="script-help">
<br /><pre>Usage: pastey [-h] [-v] [-f] -p param_value arg1 [arg2...] <br /><pre>Usage: pastey [-h] [-e] [-f INFILE] [-s] [-t title] [-x time_hrs] [-- command]
Script description here. CLI interface to pastey.
Available options: Available options:
-h, --help Print this help and exit -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 -e, --encrypt Encrypt the paste content
-f, --file Read the content from this file. If file is "-", read from stdin -f, --file Read the content from this file.
-s, --single Create a paste that expires after the first view -s, --single Create a paste that expires after the first view
-t, --title Set the title of the paste -t, --title Set the title of the paste
-x, --expiration -x, --expiration
Set the time in hours after which the paste expires Set the time in hours after which the paste expires
(Default is expiration is disabled)
-- Stop further option parsing -- Stop further option parsing
Arguments passed after the -- option are evaluated Arguments passed after the -- option are evaluated
as a command, and that command's output is pasted. as a command, and that command's output is pasted.
The full command is used a the title. The full command is used as the title.
If zero arguments are passed, If zero arguments are passed,
or none of --content, --file or -- are passed, or none of --file or -- are passed,
content is read from stdin.</pre> content is read from stdin.</pre>
</div> </div>

Loading…
Cancel
Save