From 7d79f288f5ac8b12cc054b9021987337c171064e Mon Sep 17 00:00:00 2001 From: Christoph Heer Date: Sat, 17 Jul 2010 00:26:40 +0200 Subject: [PATCH] Add the suggest command --- plugins/other/prosody | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/other/prosody b/plugins/other/prosody index 5bc64b3d..712bdaec 100755 --- a/plugins/other/prosody +++ b/plugins/other/prosody @@ -30,6 +30,11 @@ def main(): try: mode = sys.argv[1] except Exception, IndexError: mode = "" wildcard = sys.argv[0].split("prosody_")[1].split("_")[0] + + if mode == "suggest": + print "c2s" + print "s2s" + sys.exit(0) if wildcard == "c2s": if mode == "config":