Ian Bicking  committed 717c359

Add an error check, --daemon and --reload cannot be used together (

  • Participants
  • Parent commits a115d42

Comments (0)

Files changed (2)

 syntax: glob

File paste/script/

                 cmd = None
                 restvars = self.args[:]
+        if (getattr(self.options, 'daemon', False)
+            and getattr(self.options, 'reload', False)):
+            raise BadCommand('The --daemon and --reload options may not be used together')
         jython_monitor = False
         if self.options.reload:
             if jython and not self.options.disable_jython_reloader: