diff --git a/src/configuration/ArcanistSettings.php b/src/configuration/ArcanistSettings.php index d7314c1d..f87fb356 100644 --- a/src/configuration/ArcanistSettings.php +++ b/src/configuration/ArcanistSettings.php @@ -169,6 +169,11 @@ final class ArcanistSettings extends Phobject { 'default' => false, 'example' => 'false', ), + 'aliases' => array( + 'type' => 'aliases', + 'help' => pht( + 'Configured command aliases. Use "arc alias" to define aliases.'), + ), ); } @@ -263,6 +268,12 @@ final class ArcanistSettings extends Phobject { break; case 'wild': break; + case 'aliases': + throw new Exception( + pht( + 'Use "arc alias" to configure aliases, not "arc set-config".')); + break; + } return $value; @@ -296,6 +307,7 @@ final class ArcanistSettings extends Phobject { } break; case 'wild': + case 'aliases': break; }