parameters: (self, _args=None, cwd=None, allow_unknown=False)
return_statement: return options, commands, envvars
docstring: Just parse the arguments
docstring_summary: Just parse the arguments
docstring_tokens: Just parse the arguments
function: def parse_cmd_args(self, _args=None, cwd=None, allow_unknown=False):
  		"""
  		Just parse the arguments
  		"""
  		self.parser.allow_unknown = allow_unknown
  		(options, leftover_args) = self.parser.parse_args(args=_args)
  		envvars = []
  		commands = []
  		for arg in leftover_args:
  			if '=' in arg:
  				envvars.append(arg)
  			elif arg != 'options':
  				commands.append(arg)
  
  		if options.jobs < 1:
  			options.jobs = 1
  		for name in 'top out destdir prefix bindir libdir'.split():
  			# those paths are usually expanded from Context.launch_dir
  			if getattr(options, name, None):
  				path = self.sanitize_path(getattr(options, name), cwd)
  				setattr(options, name, path)
  		return options, commands, envvars
function_tokens: def parse_cmd_args ( self , _args = None , cwd = None , allow_unknown = False ) : self . parser . allow_unknown = allow_unknown ( options , leftover_args ) = self . parser . parse_args ( args = _args ) envvars = [ ] commands = [ ] for arg in leftover_args : if '=' in arg : envvars . append ( arg ) elif arg != 'options' : commands . append ( arg ) if options . jobs < 1 : options . jobs = 1 for name in 'top out destdir prefix bindir libdir' . split ( ) : # those paths are usually expanded from Context.launch_dir if getattr ( options , name , None ) : path = self . sanitize_path ( getattr ( options , name ) , cwd ) setattr ( options , name , path ) return options , commands , envvars