From c59618c129333beac82c7b227bd928073cf799c5 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Sat, 16 Jul 2011 19:18:26 +0000 Subject: add more information in the error message when there is no argument given --- MgaRepo/commands/maintdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MgaRepo/commands/maintdb.py b/MgaRepo/commands/maintdb.py index 4d64dac..1e5ad80 100644 --- a/MgaRepo/commands/maintdb.py +++ b/MgaRepo/commands/maintdb.py @@ -27,7 +27,7 @@ def parse_options(): if len(args): opts.maintdb_args = args else: - raise Error, "you need to provide arguments" + raise Error, "you need to provide arguments, see them with --help" return opts def maintdb(maintdb_args): -- cgit v1.2.1