Does not exit after w/W, so as to allow for a restart to be issued afterwards
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 2 May 2006 10:55:36 +0000 (10:55 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 2 May 2006 10:55:36 +0000 (10:55 +0000)
plc-config-tty

index a762105..74a075c 100755 (executable)
@@ -191,7 +191,7 @@ def mainloop (cdef, cread, cwrite,main_config, site_config, consolidated_config)
             print ("Wrote %s" % site_config)
             if (answer == "W"):
                 consolidate(main_config, site_config, consolidated_config)
-            return
+            print ("You might want to type 'r' (restart plc) or 'q' (quit)")
         elif (answer == "l"):
             print ("Config involves the following variables")
             sys.stdout.write(cread.output_variables())