diff --git a/pisi/cli/blame.py b/pisi/cli/blame.py index f15ac87a..41afe5c7 100644 --- a/pisi/cli/blame.py +++ b/pisi/cli/blame.py @@ -39,7 +39,7 @@ Usage: blame ... def options(self): group = optparse.OptionGroup(self.parser, _("blame options")) group.add_option("-r", "--release", action="store", type="int", help=_("Blame for the given release")) - group.add_option("-a", "--print-all", action="store_true", default=False, + group.add_option("-a", "--all", action="store_true", default=False, help=_("Blame for all of the releases")) self.parser.add_option_group(group) @@ -54,9 +54,9 @@ Usage: blame ... if self.packagedb.has_package(package): pkg = self.packagedb.get_package(package) release = ctx.get_option('release') - if not release and not ctx.get_option('print_all'): + if not release and not ctx.get_option('all'): self.print_package_info(pkg) - elif ctx.get_option('print_all'): + elif ctx.get_option('all'): for hno, update in enumerate(pkg.history): self.print_package_info(pkg, hno) else: