summaryrefslogtreecommitdiffstats
path: root/fb.1
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-05-11 12:21:59 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-08-11 11:32:51 +0200
commit3ec7aef28c5523d15f7c677ab29dfc30b3b5fc2f (patch)
tree29f0ac19106195e3c88097f34700024487527552 /fb.1
parent0acf745e9aa6ab351fdc4d4c59d3421ea244f17a (diff)
Add API key support
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'fb.1')
-rw-r--r--fb.14
1 files changed, 4 insertions, 0 deletions
diff --git a/fb.1 b/fb.1
index 26077d5..e2ba33e 100644
--- a/fb.1
+++ b/fb.1
@@ -91,6 +91,8 @@ Display debugging information.
.El
.Sh CONFIGURATION FILES
.Bl -tag
+.It $XDG_CONFIG_HOME/fb-client/apikey
+This file contains the API key to use for authentication. If this file exists, netrc authentication will be disabled.
.It $XDG_CONFIG_HOME/fb-client/config
This file allows to override certain variables by using the format 'option_name="value"'.
Both, the option value and name, are case-sensitive string literals.
@@ -101,6 +103,8 @@ The following option names are supported:
The URL of the pastebin you want to use
.It clipboard_cmd
The command used to copy URLs of uploaded files to the clipboard. This defaults to xclip or pbcopy on Darwin.
+.It apikey_file
+The file that contains the API key. This defaults to "$XDG_CONFIG_HOME/fb-client/apikey"
.El
.It ~/.netrc
This file will be used for authentication.