summaryrefslogtreecommitdiffstats
path: root/fb.1
diff options
context:
space:
mode:
authorSimon Schuster <git@rationality.eu>2020-10-06 23:10:03 +0200
committerFlorian Pritz <bluewind@xinu.at>2020-10-07 14:53:09 +0200
commitc41bb16e376332dc353d0edbcdc75ded5cc0996e (patch)
tree1f8f3cd65ee2f11df3d649f3785107a121f78d7f /fb.1
parent3260da2f55078d6a73729cbbe89ecbc4cd86fe89 (diff)
Support requesting ids of a minimum lengthv2.1.0
Uses the new 'minimum-id-length' post parameter to ensure minimum id lengths for created file and multipaste urls. Changes by Florian Pritz: - Raise required API version to 2.2.0 - Rename CLI option to from `--min-url-length` to `--min-id-length` and adjust documentation Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'fb.1')
-rw-r--r--fb.13
1 files changed, 3 insertions, 0 deletions
diff --git a/fb.1 b/fb.1
index 56cb2d3..249a23d 100644
--- a/fb.1
+++ b/fb.1
@@ -92,6 +92,9 @@ always, but then creates a multipaste combining all of them. URLs starting with
the pastebin URL will have their ID extracted and will not be downloaded. Only
the multipaste URL will be displayed and copied to the clipboard. This option
is enabled automatically if multiple files are uploaded.
+.It Fl M Ar <length>, Fl -min-id-length Ar <length>
+Request the server to generate IDs of at least <length> characters. The minimum
+supported length are two characters.
.It Fl h, -help
Display a short help message.
.It Fl t, -tar