3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 01:09:22 +01:00

pylink: tidy up --no-check-pid setting

This commit is contained in:
James Lu 2016-11-14 21:38:02 -08:00 committed by GitHub
parent 8e7cffc016
commit 7c93a6cdfc

2
pylink
View File

@ -21,7 +21,7 @@ if __name__ == '__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", "--no-checkpid", help="disables pid file checking, breaks clientbot if used wrongly", action='store_true')
parser.add_argument("-c", "--no-check-pid", help="disables PID file checking", action='store_true')
parser.add_argument("-n", "--no-pid", help="skips generating PID files", action='store_true')
args = parser.parse_args()