diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-04-20 01:21:58 +0200 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-04-20 01:21:58 +0200 |
commit | 049ae4ae5d0367485910064f62b1baf38fdaad04 (patch) | |
tree | 1be645e4d0d5fdf6b1bb81aea55f07cabea0e361 /Bugzilla/Constants.pm | |
parent | 3944a53b67f20592b960f03c65d9ff2b490f58fb (diff) | |
download | bugzilla-049ae4ae5d0367485910064f62b1baf38fdaad04.tar.gz bugzilla-049ae4ae5d0367485910064f62b1baf38fdaad04.tar.xz |
Bug 560284: Make all errors that checksetup.pl throws be red
r=mkanat, a=mkanat (module owner)
Diffstat (limited to 'Bugzilla/Constants.pm')
-rw-r--r-- | Bugzilla/Constants.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index 87210ffd4..47aeb8a9d 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -143,6 +143,8 @@ use File::Basename; ERROR_MODE_DIE_SOAP_FAULT ERROR_MODE_JSON_RPC + COLOR_ERROR + INSTALLATION_MODE_INTERACTIVE INSTALLATION_MODE_NON_INTERACTIVE @@ -445,6 +447,9 @@ use constant ERROR_MODE_DIE => 1; use constant ERROR_MODE_DIE_SOAP_FAULT => 2; use constant ERROR_MODE_JSON_RPC => 3; +# The ANSI colors of messages that command-line scripts use +use constant COLOR_ERROR => 'red'; + # The various modes that checksetup.pl can run in. use constant INSTALLATION_MODE_INTERACTIVE => 0; use constant INSTALLATION_MODE_NON_INTERACTIVE => 1; |