| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -407,24 +407,25 @@ int yon_ubl_setup_arguments(int argc, char *argv[],config_str *unfound_arguments
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    int debug_mode=0; 
 | 
					 | 
					 | 
					 | 
					    int debug_mode=0; 
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    { 
 | 
					 | 
					 | 
					 | 
					    { 
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        struct option long_options[] = {
 | 
					 | 
					 | 
					 | 
					        struct option long_options[] = {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                {"help", 0, 0, 'h'}, 
 | 
					 | 
					 | 
					 | 
					            {"help", 0, 0, 'h'},
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                {"version", 0, 0, 'V'}, 
 | 
					 | 
					 | 
					 | 
					            {"version", 0, 0, 'V'},
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                {"lock-help", 0,0, 1}, 
 | 
					 | 
					 | 
					 | 
					            {"lock-help", 0,0, 1},
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                {"lock-save", 0,0, 2}, 
 | 
					 | 
					 | 
					 | 
					            {"lock-save", 0,0, 2},
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                {"lock-save-local", 0,0, 3}, 
 | 
					 | 
					 | 
					 | 
					            {"lock-save-local", 0,0, 3},
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                {"lock-save-global", 0,0, 4}, 
 | 
					 | 
					 | 
					 | 
					            {"lock-save-global", 0,0, 4},
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                {"lock-load-global", 0,0, 5}, 
 | 
					 | 
					 | 
					 | 
					            {"lock-load-global", 0,0, 5},
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                {"lock-load-local", 0,0, 6}, 
 | 
					 | 
					 | 
					 | 
					            {"lock-load-local", 0,0, 6},
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                {"socket-id", 1, 0, 's'}, 
 | 
					 | 
					 | 
					 | 
					            {"socket-id", 1, 0, 's'},
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                {"socket-ext-id", 1,0, 'e'}, 
 | 
					 | 
					 | 
					 | 
					            {"socket-ext-id", 1,0, 'e'},
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                {"socket-trd-id", 1,0, 't'}, 
 | 
					 | 
					 | 
					 | 
					            {"socket-trd-id", 1,0, 't'},
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                {"clear-config", 0,0, 'c'},  
 | 
					 | 
					 | 
					 | 
					            {"clear-config", 0,0, 'c'}, 
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                {"debug", 0,0, 'd'}, 
 | 
					 | 
					 | 
					 | 
					            {"debug", 0,0, 'd'},
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                { NULL, 0, NULL, 0 } 
 | 
					 | 
					 | 
					 | 
					            {"file", 1, 0, 'f'},
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            { NULL, 0, NULL, 0 } 
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        };
 | 
					 | 
					 | 
					 | 
					        };
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        config_str unregistered_arguments=NULL;
 | 
					 | 
					 | 
					 | 
					        config_str unregistered_arguments=NULL;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        for (int i=1;i<argc;i++){ 
 | 
					 | 
					 | 
					 | 
					        for (int i=1;i<argc;i++){ 
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            int argument=getopt_long(argc,argv,"hVvs:e:t:cd",long_options,&option_index); 
 | 
					 | 
					 | 
					 | 
					            int argument=getopt_long(argc,argv,"hVvs:e:t:cdf:",long_options,&option_index); 
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            switch(argument){ 
 | 
					 | 
					 | 
					 | 
					            switch(argument){ 
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                case 'h': 
 | 
					 | 
					 | 
					 | 
					                case 'h': 
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    show_help=1; 
 | 
					 | 
					 | 
					 | 
					                    show_help=1; 
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -472,11 +473,17 @@ int yon_ubl_setup_arguments(int argc, char *argv[],config_str *unfound_arguments
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                case 6: 
 | 
					 | 
					 | 
					 | 
					                case 6: 
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    template_config->lock_load_system=1; 
 | 
					 | 
					 | 
					 | 
					                    template_config->lock_load_system=1; 
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    break; 
 | 
					 | 
					 | 
					 | 
					                    break; 
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                case 'f':
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    template_config->force_ini = yon_char_new(optarg);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    template_config->config_load_path = template_config->force_ini;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    template_config->config_save_path = template_config->force_ini;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    break;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                default:
 | 
					 | 
					 | 
					 | 
					                default:
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                char *unfound = optarg;
 | 
					 | 
					 | 
					 | 
					                    char *unfound = optarg;
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    yon_char_parsed_add_or_create_if_exists(unregistered_arguments,arguments_size,yon_char_unite(argv[i],!yon_char_is_empty(unfound)?"=":"",!yon_char_is_empty(unfound)?unfound:"",NULL));
 | 
					 | 
					 | 
					 | 
					                    yon_char_parsed_add_or_create_if_exists(unregistered_arguments,arguments_size,yon_char_unite(argv[i],!yon_char_is_empty(unfound)?"=":"",!yon_char_is_empty(unfound)?unfound:"",NULL));
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            } 
 | 
					 | 
					 | 
					 | 
					            } 
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        } 
 | 
					 | 
					 | 
					 | 
					        } 
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        if (arguments_size)yon_char_parsed_add_or_create_if_exists(unregistered_arguments,arguments_size,NULL);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        (*unfound_arguments)=unregistered_arguments;
 | 
					 | 
					 | 
					 | 
					        (*unfound_arguments)=unregistered_arguments;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        if (show_help&&!template_config->lock_help){ 
 | 
					 | 
					 | 
					 | 
					        if (show_help&&!template_config->lock_help){ 
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            printf("%s\n",HELP_LABEL(additional_options_output)); 
 | 
					 | 
					 | 
					 | 
					            printf("%s\n",HELP_LABEL(additional_options_output)); 
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |