From a55d4aa436f34e5d3f1e0e06b372b57de323aa61 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Sat, 21 Jul 2007 14:52:50 -0400 Subject: Remove some obsolete command line scripts: - bin/check_dbs because there are no more pickles - bin/convert because in MM3 everything will use $-strings and we'll do the conversion on import of the old list data - bin/mmshell because setuptools provides its own equivalent - bin/qrunner and bin/mailmanctl because the files were empty There are a bunch of scripts still left in bin/ which will eventually get removed. I'm leaving them for now because they're either helpers generally tangential to Mailman (msgfmt, po2template, pygettext, templ2pot, transcheck), or are using old interfaces that will go away soon (clone_member, convert, discard, fix_url, list_admins, remove_members, reset_pw, sync_members). Also moved bin/cleanarch into Mailman/bin/cleanarch.py and updated it to use optparse. Also added a small patch to genalias to standardize its help printing. --- Mailman/bin/genaliases.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Mailman/bin/genaliases.py') diff --git a/Mailman/bin/genaliases.py b/Mailman/bin/genaliases.py index 239f88c91..99a4234d4 100644 --- a/Mailman/bin/genaliases.py +++ b/Mailman/bin/genaliases.py @@ -45,9 +45,7 @@ verbosity.""")) help=_('Alternative configuration file to use')) opts, args = parser.parse_args() if args: - parser.print_help() - print >> sys.stderr, _('Unexpected arguments') - sys.exit(1) + parser.print_error(_('Unexpected arguments')) return parser, opts, args -- cgit v1.2.3-70-g09d2