Merge pull request #3025 from janwiemers/master
add a --app parameter to the default_app
This commit is contained in:
		
				commit
				
					
						59b43a6571
					
				
			
		
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -18,6 +18,9 @@ for (var i = 0; i < argv.length; i++) {
 | 
			
		|||
  if (argv[i] == '--version' || argv[i] == '-v') {
 | 
			
		||||
    option.version = true;
 | 
			
		||||
    break;
 | 
			
		||||
  } else if (argv[i].match(/^--app=/)) {
 | 
			
		||||
    option.file = argv[i].split('=')[1];
 | 
			
		||||
    break;
 | 
			
		||||
  } else if (argv[i] == '--help' || argv[i] == '-h') {
 | 
			
		||||
    option.help = true;
 | 
			
		||||
    break;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue