summaryrefslogtreecommitdiff
path: root/example.py
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@sonymobile.com>2013-01-29 19:31:01 +0900
committerDavid Pursehouse <david.pursehouse@sonymobile.com>2013-01-29 19:31:01 +0900
commita63d8577ac5b8ecd5456acc98443f294f606cf79 (patch)
treefedabeab3fc7f0cbb8eb5176752fcfd5ad8cdae2 /example.py
parent9768a367035deef3eda1b8ed13b666662fc8ca8f (diff)
downloadpygerrit-a63d8577ac5b8ecd5456acc98443f294f606cf79.tar.gz
Better error message in example script
Change-Id: Icfbea6f47028accd3c976279e6eafdcb0b76b226
Diffstat (limited to 'example.py')
-rwxr-xr-xexample.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example.py b/example.py
index 6d0bca4..a0a8337 100755
--- a/example.py
+++ b/example.py
@@ -53,7 +53,7 @@ def _main():
(options, _args) = parser.parse_args()
if options.timeout and not options.blocking:
- parser.error('Can only use -t with -b')
+ parser.error('Can only use --timeout with --blocking')
logging.basicConfig(format='%(message)s', level=logging.INFO)