| Summary: | systemctl should default to --full if stdout is not tty | ||
|---|---|---|---|
| Product: | systemd | Reporter: | Zbigniew Jedrzejewski-Szmek <zbyszek> |
| Component: | general | Assignee: | Lennart Poettering <lennart> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | minor | ||
| Priority: | low | CC: | zbyszek |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux (All) | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
|
Description
Zbigniew Jedrzejewski-Szmek
2010-08-31 16:23:25 UTC
(In reply to comment #0) > I'd expect 'systemctl | cat' do ignore terminal width. > E.g. 'systemctl | grep virtio' and 'systemctl --full | grep virtio' should give > the same result, but they don't. Hmm, interesting idea. Also see https://bugzilla.redhat.com/show_bug.cgi?id=626891 > Another small thing: > even with --full, the descriptions are truncated to terminal width anyway. > Would be nice if they could be printed in full when output is not a terminal. This is now fixed in v9. (In reply to comment #1) > (In reply to comment #0) > > I'd expect 'systemctl | cat' do ignore terminal width. > > E.g. 'systemctl | grep virtio' and 'systemctl --full | grep virtio' should give > > the same result, but they don't. > > Hmm, interesting idea. Also see > https://bugzilla.redhat.com/show_bug.cgi?id=626891 Basically this part is a duplicate of the other bug. I'm going to reply over there. > > Another small thing: > > even with --full, the descriptions are truncated to terminal width anyway. > > Would be nice if they could be printed in full when output is not a terminal. > > This is now fixed in v9. Yes. Works! I closed the rhbz bug a while back, closing this one too. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.