Permalink
Browse files

virt run: Print an error message when no type or config options speci…

…fied

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
  • Loading branch information...
1 parent cb8fc9f commit 6abf868ba0b2bc1b428394439886c822540f6155 @lmr lmr committed Sep 7, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 run
View
1 run
@@ -57,6 +57,7 @@ if __name__ == '__main__':
options, args = parser.parse_args()
if (not options.type) and (not options.config):
+ print("No type (-t) or config (-c) options specified, aborting...")
parser.print_help()
sys.exit(1)

0 comments on commit 6abf868

Please sign in to comment.