Changeset View
Changeset View
Standalone View
Standalone View
src/config/source/ArcanistRuntimeConfigurationSource.php
Show All 24 Lines | foreach ($argv as $raw) { | ||||
} | } | ||||
$map[$key] = $value; | $map[$key] = $value; | ||||
} | } | ||||
parent::__construct($map); | parent::__construct($map); | ||||
} | } | ||||
public function didReadUnknownOption($key) { | public function didReadUnknownOption(ArcanistRuntime $runtime, $key) { | ||||
throw new PhutilArgumentUsageException( | throw new PhutilArgumentUsageException( | ||||
pht( | pht( | ||||
'Configuration option ("%s") specified with "--config" flag is not '. | 'Configuration option ("%s") specified with "--config" flag is not '. | ||||
'a recognized option.', | 'a recognized option.', | ||||
$key)); | $key)); | ||||
} | } | ||||
public function getSourceDisplayName() { | public function getSourceDisplayName() { | ||||
return pht('Runtime "--config" Flags'); | return pht('Runtime "--config" Flags'); | ||||
} | } | ||||
public function isStringSource() { | public function isStringSource() { | ||||
return true; | return true; | ||||
} | } | ||||
} | } | ||||
No newline at end of file | No newline at end of file |