update readme, change paste text parameter
This commit is contained in:
4
cli
4
cli
@@ -11,7 +11,7 @@ def main():
|
||||
# a send command
|
||||
send_parser = subparsers.add_parser("send", description="Send data to PrivateBin instance", usage="""
|
||||
%(prog)s --burn --discus --expire 1day --format plaintext \\
|
||||
--comment "My file" --password mypass image.txt"""
|
||||
--text "My file" --password mypass image.txt"""
|
||||
)
|
||||
send_parser.add_argument("-B", "--burn", default=False, action="store_true", help="burn sent paste after reading")
|
||||
send_parser.add_argument("-D", "--discus", default=False, action="store_true", help="open discussion of sent paste")
|
||||
@@ -19,7 +19,7 @@ def main():
|
||||
choices=["5min", "10min", "1hour", "1day", "1week", "1month", "1year", "never"], help="expiration of paste (default: 1day)")
|
||||
send_parser.add_argument("-F", "--format", default="plaintext", action="store",
|
||||
choices=["plaintext", "syntaxhighlighting", "markdown"], help="format of comment (default: plaintext)")
|
||||
send_parser.add_argument("-c", "--comment", help="comment in quotes. Ignored if used stdin")
|
||||
send_parser.add_argument("-t", "--text", help="comment in quotes. Ignored if used stdin")
|
||||
send_parser.add_argument("-p", "--password", help="password for encrypting paste")
|
||||
send_parser.add_argument("-d", "--debug", default=False, action="store_true", help="enable debug")
|
||||
send_parser.add_argument("--dry", default=False, action="store_true", help="invoke dry run")
|
||||
|
||||
Reference in New Issue
Block a user