Index: cs.py =================================================================== diff -u -r4ebf654ab1b0d436ce7d171bfe06c6bdc46aca47 -re2b5bba1ace2613e8cd3ca6d997756b1b61d77a4 --- cs.py (.../cs.py) (revision 4ebf654ab1b0d436ce7d171bfe06c6bdc46aca47) +++ cs.py (.../cs.py) (revision e2b5bba1ace2613e8cd3ca6d997756b1b61d77a4) @@ -10,6 +10,7 @@ from subprocess import Popen DELAY = 0.5 +USAGE_FORMAT = "Usage: ./cs.py [debug|info|warning|error]" arguments = sys.argv logging_level = logging.INFO @@ -55,7 +56,7 @@ elif arguments[2] == "error": logging_level = logging.ERROR else: - print("Usage: ./cs.py [debug|info|warning|error]") + print(USAGE_FORMAT) if arguments[1] == "start": start() elif str(arguments[1]) == "stop": @@ -72,6 +73,6 @@ else: print("CloudSync app IS NOT running") else: - print("Usage: ./cs.py [debug|info|warning|error]") + print(USAGE_FORMAT) else: - print("Usage: ./cs.py [debug|info|warning|error]") + print(USAGE_FORMAT)