aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo/commands/maintdb.py
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-07-16 19:18:26 +0000
committerMichael Scherer <misc@mageia.org>2011-07-16 19:18:26 +0000
commitc59618c129333beac82c7b227bd928073cf799c5 (patch)
tree39e6fc4d888b5a537f7e2c308b9069e98c7dca71 /MgaRepo/commands/maintdb.py
parentc4f111cdf640f0b4c8e1a5f4ff666673c2ba450d (diff)
downloadmgarepo-c59618c129333beac82c7b227bd928073cf799c5.tar
mgarepo-c59618c129333beac82c7b227bd928073cf799c5.tar.gz
mgarepo-c59618c129333beac82c7b227bd928073cf799c5.tar.bz2
mgarepo-c59618c129333beac82c7b227bd928073cf799c5.tar.xz
mgarepo-c59618c129333beac82c7b227bd928073cf799c5.zip
add more information in the error message when there is no argument given
Diffstat (limited to 'MgaRepo/commands/maintdb.py')
-rw-r--r--MgaRepo/commands/maintdb.py2
1 files changed, 1 insertions, 1 deletions
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):