Skip to content

Commit

Permalink
The '--print-response' option *does not* require an argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
tupton committed Dec 15, 2010
1 parent 72903f8 commit a01b53d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pastebin.py
Expand Up @@ -153,7 +153,7 @@ def create_opt_parser():
help="copy the text that is posted to pastebin.com before copying the pastebin.com URL")
parser.add_option('-f', '--file', default=False, action='store',
help="read from FILE instead of stdin")
parser.add_option('-p', '--print-response', default=False, action='store',
parser.add_option('-p', '--print-response', default=False, action='store_true',
help="print the response from the pastebin API instead of copying it to the clipboard")

# pastebin API options
Expand Down

0 comments on commit a01b53d

Please sign in to comment.