aboutsummaryrefslogtreecommitdiffstats
path: root/bin/remove_members
diff options
context:
space:
mode:
Diffstat (limited to 'bin/remove_members')
-rwxr-xr-xbin/remove_members8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/remove_members b/bin/remove_members
index af5e487e..efd91ff4 100755
--- a/bin/remove_members
+++ b/bin/remove_members
@@ -1,6 +1,6 @@
#! @PYTHON@
#
-# Copyright (C) 1998-2003 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2005 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -110,9 +110,6 @@ def main():
except getopt.error, msg:
usage(1, msg)
- if len(args) < 1:
- usage(1)
-
filename = None
all = False
alllists = False
@@ -134,6 +131,9 @@ def main():
elif opt in ('-N', '--noadminack'):
admin_notif = False
+ if len(args) < 1 and not (filename and alllists):
+ usage(1)
+
# You probably don't want to delete all the users of all the lists -- Marc
if all and alllists:
usage(1)