Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   ArchLinux Pacman Development (http://www.linux-archive.org/archlinux-pacman-development/)
-   -   Document color (http://www.linux-archive.org/archlinux-pacman-development/690774-document-color.html)

Daniel Wallace 08-05-2012 09:46 AM

Document color
 
Signed-off-by: Daniel Wallace <daniel.wallace@gatech.edu>
---
contrib/bash_completion.in | 2 +-
contrib/zsh_completion.in | 1 +
doc/pacman.8.txt | 3 +++
3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/contrib/bash_completion.in b/contrib/bash_completion.in
index b0901af..b20cb5d 100644
--- a/contrib/bash_completion.in
+++ b/contrib/bash_completion.in
@@ -105,7 +105,7 @@ _pacman() {
info list needed nodeps print refresh recursive search sysupgrade'
'c g i l p s u w y')
upgrade=('asdeps asexplicit force needed nodeps print recursive' 'p')
- common=('arch cachedir config dbpath debug help logfile noconfirm
+ common=('arch cachedir color config dbpath debug help logfile noconfirm
noprogressbar noscriptlet quiet root verbose' 'b d h q r v')
core=('database help query remove sync upgrade version' 'D Q R S U V h')

diff --git a/contrib/zsh_completion.in b/contrib/zsh_completion.in
index 84ee93c..306bbe8 100644
--- a/contrib/zsh_completion.in
+++ b/contrib/zsh_completion.in
@@ -21,6 +21,7 @@ _pacman_opts_common=(
'-r[Set alternate installation root]:installation root:_files -/'
'-v[Be more verbose]'
'--cachedir[Alternate package cache location]:cache_location:_files -/'
+ '--color[Colorize pacman's output]'
'--config[An alternate configuration file]:config file:_files'
'--logfile[An alternate log file]:config file:_files'
'--noconfirm[Do not ask for confirmation]'
diff --git a/doc/pacman.8.txt b/doc/pacman.8.txt
index 0ad8188..8db669d 100644
--- a/doc/pacman.8.txt
+++ b/doc/pacman.8.txt
@@ -146,6 +146,9 @@ Options
and they are tried in the order they are passed to pacman. *NOTE*: this
is an absolute path, the root path is not automatically prepended.

+*--color* ::
+ Colorize pacman's ouput.
+
*--config* <file>::
Specify an alternate configuration file.

--
1.7.11.4


All times are GMT. The time now is 12:14 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.