xm save: Display help text if bad options specified.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
This commit is contained in:
Keir Fraser committed 2009-02-12 10:53:10 +00:00
1 parent 54ddfee829
commit 418f758483
1 file changed
+1 -1
+1 -1
View File
@@ -739,7 +739,7 @@ def xm_save(args):
(options, params) = getopt.gnu_getopt(args, 'c', ['checkpoint'])
except getopt.GetoptError, opterr:
err(opterr)
sys.exit(1)
usage('save')
checkpoint = False
for (k, v) in options:
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.