FS#50087 - Give an "All OK" message when -Dk has no errors

Attached to Project: Pacman
Opened by Allan McRae (Allan) - Monday, 18 July 2016, 14:45 GMT
Last edited by Allan McRae (Allan) - Saturday, 11 March 2017, 04:27 GMT
Task Type General Gripe
Category General
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 5.0.1
Due in Version 5.1.0
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

-Dk just sits around for a while then exits if there are no errors. If there are no errors, inform the world so that they may rejoice.
This task depends upon

Closed by  Allan McRae (Allan)
Saturday, 11 March 2017, 04:27 GMT
Reason for closing:  Implemented
Additional comments about closing:  46324d9b
Comment by Dave Reisner (falconindy) - Monday, 18 July 2016, 14:54 GMT
Isn't the 0 exit status good enough? If you really need verbosity:

pacman -Dk && echo "All OK"
Comment by Allan McRae (Allan) - Monday, 18 July 2016, 15:01 GMT
The same could be said for "-Su" when there are no updates, yet we let people know there is nothing to do.
Comment by Dave Reisner (falconindy) - Monday, 18 July 2016, 15:10 GMT
I don't think that's a fair comparison. -Su is a *much* more complex operation.
Comment by Dave Reisner (falconindy) - Monday, 18 July 2016, 15:12 GMT
Maybe as a middle ground, suppress it with -Dqk?
Comment by Patrick Eigensatz (pentix) - Sunday, 25 September 2016, 12:35 GMT
I just submitted a patch to the pacman-dev mailing list which implements this. -Dk also supports the --quiet flag now so the output can be suppressed.

Loading...