Beremiz_service.py
changeset 1900 9d1547578f55
parent 1894 f224383cc883
child 1901 e8cf68d69447
equal deleted inserted replaced
1899:ff4410112b67 1900:9d1547578f55
    58            working_dir - directory where are stored PLC files
    58            working_dir - directory where are stored PLC files
    59 """ % sys.argv[0])
    59 """ % sys.argv[0])
    60 
    60 
    61 
    61 
    62 try:
    62 try:
    63     opts, argv = getopt.getopt(sys.argv[1:], "i:p:n:x:t:a:w:c:e:h")
    63     opts, argv = getopt.getopt(sys.argv[1:], "i:p:n:x:t:a:w:c:e:s:h")
    64 except getopt.GetoptError, err:
    64 except getopt.GetoptError, err:
    65     # print help information and exit:
    65     # print help information and exit:
    66     print(str(err))  # will print something like "option -a not recognized"
    66     print(str(err))  # will print something like "option -a not recognized"
    67     usage()
    67     usage()
    68     sys.exit(2)
    68     sys.exit(2)