diff --git a/images_build/client/dign_client/bin/client.py b/images_build/client/dign_client/bin/client.py index b302fc5..01e1651 100644 --- a/images_build/client/dign_client/bin/client.py +++ b/images_build/client/dign_client/bin/client.py @@ -244,10 +244,10 @@ class CommandParser: help='The time interval in seconds between consecutive TSG diagnose operations. Default: 30.') parser.add_argument('-c','--count', type = int, default = 1, help='Specifies the number of TSG diagnoses. Default: 1. Range: [1,65535].') - parser.add_argument('-l','--loop', action='store_true', default = False, - help='Enable TSG diagnose loop, exit when recv a signal.') + parser.add_argument('--periodical', action='store_true', default = False, + help='Enable TSG diagnose periodical, exit when recv a signal.') parser.add_argument('--service_function_names_regexp', type = str, default = '.+', - help = "Regexp of the case names to run. Example: .+") + help = "Regexp of the service function names to run. Example: .+") parser.add_argument('--service_function_config_path', type = str, default = '/opt/dign_client/share/service_function_maps.yaml', help = "Specifies the service function config file, default /opt/dign_client/share/service_function_maps.yaml") parser.add_argument('--config_path', type = str, default = '/opt/dign_client/etc/client.conf', @@ -270,7 +270,7 @@ class CommandParser: self.__interval_s = args.interval self.__count = args.count - self.__loop = args.loop + self.__loop = args.periodical self.__config_path = args.config_path self.__case_names_regexp = args.case_names_regexp self.__service_function_names_regexp = args.service_function_names_regexp