Usage message

This commit is contained in:
Vincent Le Gallic 2014-06-03 18:31:15 +02:00
parent 27fbf3f5c9
commit 5da95346d3

View file

@ -192,5 +192,6 @@ if __name__ == '__main__':
try: try:
name = where[what.lower()] name = where[what.lower()]
except KeyError: except KeyError:
continue print "Usage: whosthere.py <local>\n Locaux : %s" % (", ".join(where.keys()))
sys.exit(1)
name().summary() name().summary()