diff options
author | Michael Scherer <misc@mageia.org> | 2011-07-16 19:18:26 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-07-16 19:18:26 +0000 |
commit | c59618c129333beac82c7b227bd928073cf799c5 (patch) | |
tree | 39e6fc4d888b5a537f7e2c308b9069e98c7dca71 | |
parent | c4f111cdf640f0b4c8e1a5f4ff666673c2ba450d (diff) | |
download | mgarepo-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
-rw-r--r-- | MgaRepo/commands/maintdb.py | 2 |
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): |