1
1
mirror of https://github.com/r4sas/PBinCLI synced 2025-01-24 21:44:27 +00:00

changed default expire value (#43)

* changed default expire value

* Delete extra quote

---------

Co-authored-by: R4SAS <r4sas@users.noreply.github.com>
This commit is contained in:
jebcoat 2024-07-26 00:37:50 +07:00 committed by GitHub
parent 869cf130a4
commit 01d3d881b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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")