From: Ansgar Burchardt Date: Wed, 19 Sep 2012 10:44:17 +0000 (+0200) Subject: Rename process-commands.py to process_commands.py. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44ad10099864ca7a124f7baab6524ec10ec88e54;p=dak Rename process-commands.py to process_commands.py. --- diff --git a/dak/process-commands.py b/dak/process_commands.py similarity index 93% rename from dak/process-commands.py rename to dak/process_commands.py index 9bc2d3f1..7e013dcd 100644 --- a/dak/process-commands.py +++ b/dak/process_commands.py @@ -28,7 +28,7 @@ from daklib.fstransactions import FilesystemTransaction from daklib.utils import find_next_free def usage(): - print """Usage: dak command ... + print """Usage: dak process-commands [-d ] [...] process command files """ @@ -41,9 +41,9 @@ def main(argv=None): ('d', 'directory', 'Process-Commands::Options::Directory', 'HasArg')] cnf = Config() - cnf['Command::Options::Dummy'] = '' + cnf['Process-Command::Options::Dummy'] = '' filenames = apt_pkg.parse_commandline(cnf.Cnf, arguments, argv) - options = cnf.subtree('Command::Options') + options = cnf.subtree('Process-Commands::Options') if 'Help' in options or (len(filenames) == 0 and 'Directory' not in options): usage()