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.
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.
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
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
|
DetailsSummary 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.
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.