Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#42977 - optarg --color not overriden correctly

Attached to Project: Pacman
Opened by Christoph Göttschkes (mychris) - Monday, 01 December 2014, 19:16 GMT
Last edited by Allan McRae (Allan) - Tuesday, 02 December 2014, 00:24 GMT
Task Type Bug Report
Category Output
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 4.1.2
Due in Version 4.2.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:

The --color optarg is not overriden correctly. As soon as the color is turned on by 'always' or 'auto' it can not be changed back to 'never':
$ pacman --color=never --color=always --color=never -Qi pacman
will result in a colorized output.

Steps to Reproduce:

$ pacman --color=never --color=always --color=never -Qi pacman

This task depends upon

Closed by  Allan McRae (Allan)
Tuesday, 02 December 2014, 00:24 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed during 4.2 development.
Comment by Dave Reisner (falconindy) - Monday, 01 December 2014, 19:41 GMT
Works for me. Your reproducer gives me no color, regardless of whether or not "Color" is in my /etc/pacman.conf
Comment by Allan McRae (Allan) - Tuesday, 02 December 2014, 00:24 GMT
Broken with pacman-4.1. Fixed in current git.

Loading...