diff idavoll/tap.py @ 97:cf918d581da5

Enable admin to hide all nodes when the service is queried using disco items.
author Ralph Meijer <ralphm@ik.nu>
date Tue, 23 Nov 2004 17:05:21 +0000
parents 66fac7cd9edc
children 5191ba7c4df8
line wrap: on
line diff
--- a/idavoll/tap.py	Tue Nov 23 16:36:58 2004 +0000
+++ b/idavoll/tap.py	Tue Nov 23 17:05:21 2004 +0000
@@ -14,7 +14,10 @@
 		('dbname', None, 'pubsub'),
 	]
 
-	optFlags = [('verbose', 'v', 'Show traffic')]
+	optFlags = [
+		('verbose', 'v', 'Show traffic'),
+		('hide-nodes', None, 'Hide all nodes for disco')
+	]
 	
 	def postOptions(self):
 		if self['backend'] not in ['pgsql', 'memory']: