Summary: | etc-update should have a -q/--quiet option | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Christian Ruppert (idl0r) <idl0r> |
Component: | Enhancement/Feature Requests | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | infra-bugs |
Priority: | Normal | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 431026 | ||
Attachments: |
dispatch-conf.diff
add etc-update -q/--quiet option |
Description
Christian Ruppert (idl0r)
2012-05-21 14:26:41 UTC
Created attachment 312989 [details, diff]
add etc-update -q/--quiet option
This option basically sends stdout to /dev/null for all non-essential messages. Is that what you want? Why don't you just do `etc-update --preen >/dev/null`?
That patch looks good but I didn't test it yet. Well.. tbh I wasn't thinking about redirecting though It may be a good idea to offer a --quiet/-q option anyway. The etc-update patch is in git now: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=24a91dd6fb9bd9acdc5a72d2e830128c0f06bf98 This is fixed in 2.1.11.14 and 2.2.0_alpha125. might be better to add a vecho helper: vecho() { ${QUIET} && echo "$@" ; } |