From 01d3d881b1609e1f004d0e9a1c8424f388d41b86 Mon Sep 17 00:00:00 2001 From: jebcoat Date: Fri, 26 Jul 2024 00:37:50 +0700 Subject: [PATCH] changed default expire value (#43) * changed default expire value * Delete extra quote --------- Co-authored-by: R4SAS --- pbincli/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pbincli/cli.py b/pbincli/cli.py index 6884ce1..02d3a7e 100755 --- a/pbincli/cli.py +++ b/pbincli/cli.py @@ -49,7 +49,7 @@ def main(): send_parser.add_argument("-t", "--text", help="Text in quotes. Ignored if used stdin. If not used, forcefully used stdin") send_parser.add_argument("-f", "--file", help="Example: image.jpg or full path to file") send_parser.add_argument("-p", "--password", help="Password for encrypting paste") - send_parser.add_argument("-E", "--expire", default="1day", action="store", + send_parser.add_argument("-E", "--expire", default=argparse.SUPPRESS, action="store", choices=["5min", "10min", "1hour", "1day", "1week", "1month", "1year", "never"], help="Paste lifetime (default: 1day)") send_parser.add_argument("-B", "--burn", default=argparse.SUPPRESS, action="store_true", help="Set \"Burn after reading\" flag") send_parser.add_argument("-D", "--discus", default=argparse.SUPPRESS, action="store_true", help="Open discussion for sent paste")