mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-24 03:29:28 +01:00
launcher: restore -c/--check-pid as a no-op option for compatiblity
This commit is contained in:
parent
498a32a525
commit
9bec181cec
@ -13,6 +13,7 @@ def main():
|
|||||||
parser = argparse.ArgumentParser(description='Starts an instance of PyLink IRC Services.')
|
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('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("-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')
|
parser.add_argument("-n", "--no-pid", help="skips generating PID files", action='store_true')
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user