diff --git a/ChangeLog b/ChangeLog index edb096d..106eb11 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-05-19 Thomas Vander Stichele + + * morituri/rip/main.py: + More debug info: args, version, revision. + 2011-05-19 Thomas Vander Stichele * morituri/configure/configure.py (svn:keywords): diff --git a/morituri/rip/main.py b/morituri/rip/main.py index 413fbe0..a31ee55 100644 --- a/morituri/rip/main.py +++ b/morituri/rip/main.py @@ -44,7 +44,8 @@ You can get help on subcommands by using the -h option to the subcommand. # FIXME: is this the right place ? log.init() from morituri.configure import configure - log.debug("morituri", "This is morituri version %s" % configure.version) + log.debug("morituri", "This is morituri version %s (%s)", + configure.version, configure.revision) self.parser.add_option('-v', '--version', action="store_true", dest="version", @@ -55,3 +56,7 @@ You can get help on subcommands by using the -h option to the subcommand. from morituri.configure import configure print "rip %s" % configure.version sys.exit(0) + + def parse(self, argv): + log.debug("morituri", "rip %s" % " ".join(argv)) + logcommand.LogCommand.parse(self, argv)