From debe84737d7199e8b3b7ec0518791e5c975be6f8 Mon Sep 17 00:00:00 2001 From: Kumi Date: Mon, 22 Jan 2024 08:46:13 +0100 Subject: [PATCH] Add max paste size option to PyFiche README Enhanced PyFiche with the `-M` switch, enabling users to set a maximum paste size, with a default limit of 5 MiB. This addition offers better control over resource usage and helps prevent abuse. Instructions for usage are updated in the README. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 3878671..9b32a26 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,11 @@ With the exception of the `-u` option, all arguments of the original Fiche should work as expected. `-u` is not implemented because, well, just use the right user in the first place. 🤷‍♀️ +Additionally, PyFiche also supports the `-M` option, which allows you to +specify a maximum paste size in bytes. The default is 5 MiB. + +Use `-h` to see all options. + #### Uploading files ```bash