mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-31 15:12:25 +00:00 
			
		
		
		
	init_argument_parser: Changed action for -c to append
				
					
				
			WA2 only supported a single config file but the way WA3's configuration parser works there can be as many and the user needs. They will be prioritied in the order they are specified. e.g in `wa run agenda.yaml -c 1.yaml -c 2.yaml` `1.yaml` will be applied first and `2.yaml` will be applied on top of that.
This commit is contained in:
		| @@ -21,7 +21,7 @@ from wlauto.core.version import get_wa_version | ||||
|  | ||||
|  | ||||
| def init_argument_parser(parser): | ||||
|     parser.add_argument('-c', '--config', help='specify an additional config.py') | ||||
|     parser.add_argument('-c', '--config', help='specify an additional config.py', action='append') | ||||
|     parser.add_argument('-v', '--verbose', action='count', | ||||
|                         help='The scripts will produce verbose output.') | ||||
|     parser.add_argument('--version', action='version', version='%(prog)s {}'.format(get_wa_version())) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user