From 9bec181cec4b9b1b486f4fbdbf52bcf514a8751c Mon Sep 17 00:00:00 2001 From: James Lu Date: Thu, 20 Jul 2017 21:39:12 +0800 Subject: [PATCH] launcher: restore -c/--check-pid as a no-op option for compatiblity --- launcher.py | 1 + 1 file changed, 1 insertion(+) diff --git a/launcher.py b/launcher.py index 121890a..2b53bed 100644 --- a/launcher.py +++ b/launcher.py @@ -13,6 +13,7 @@ def main(): parser = argparse.ArgumentParser(description='Starts an instance of PyLink IRC Services.') parser.add_argument('config', help='specifies the path to the config file (defaults to pylink.yml)', nargs='?', default='pylink.yml') parser.add_argument("-v", "--version", help="displays the program version and exits", action='store_true') + parser.add_argument("-c", "--check-pid", help="no-op; kept for compatiblity with PyLink 1.x", action='store_true') parser.add_argument("-n", "--no-pid", help="skips generating PID files", action='store_true') args = parser.parse_args()