summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2013-09-24 18:01:57 +0200
committerTimo Rothenpieler <timo@rothenpieler.org>2013-09-24 18:03:49 +0200
commit92e0f6e0e1357d056f288b8cf7ebf149bd0ea0f0 (patch)
tree17aec6ec769bdaacbc76109b4283ce67bef2816c
parent582c588a5afa11affaf9497354e5713acf370753 (diff)
downloadwgetpaste-92e0f6e0e1357d056f288b8cf7ebf149bd0ea0f0.tar.gz
Add information about new HEADER_ variable to --help
-rwxr-xr-xwgetpaste4
1 files changed, 4 insertions, 0 deletions
diff --git a/wgetpaste b/wgetpaste
index 8faf232..5bb6d83 100755
--- a/wgetpaste
+++ b/wgetpaste
@@ -357,6 +357,10 @@ Options:
Defaults (DEFAULT_{NICK,LANGUAGE,EXPIRATION}[_\${SERVICE}] and DEFAULT_SERVICE)
can be overridden globally in /etc/wgetpaste.conf or /etc/wgetpaste.d/*.conf or
per user in any of ~/.wgetpaste.conf or ~/.wgetpaste.d/*.conf.
+
+An additional http header can be passed by setting HEADER_\${SERVICE} in any of the
+configuration files mentioned above. For example, authenticating with github gist:
+HEADER_gists="Authorization: token 1234abc56789..."
EOF
}