[libvirt] [PATCH] tools: Reduce table width in virsh(1)

Andrea Bolognani posted 1 patch 4 years, 11 months ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20190415145349.16246-1-abologna@redhat.com
tools/virsh.pod | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
[libvirt] [PATCH] tools: Reduce table width in virsh(1)
Posted by Andrea Bolognani 4 years, 11 months ago
The table included in the sample output for 'list --title' is
unnecessarily wide, which causes man to complain:

  warning [p 8, 0.5i]: can't break line

Make the table narrower.

Spotted by Lintian (manpage-has-errors-from-man tag).

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
---
 tools/virsh.pod | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tools/virsh.pod b/tools/virsh.pod
index bb52de3eed..3196636825 100644
--- a/tools/virsh.pod
+++ b/tools/virsh.pod
@@ -545,10 +545,10 @@ I<--table> output.
 Example:
 
 B<virsh> list --title
-  Id    Name                           State      Title
- --------------------------------------------------------------------------
-  0     Domain-0                       running    Mailserver 1
-  2     fedora                         paused
+  Id    Name        State      Title
+ -------------------------------------------
+  0     Domain-0    running    Mailserver 1
+  2     fedora      paused
 
 =item B<freecell> [{ [I<--cellno>] B<cellno> | I<--all> }]
 
-- 
2.20.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH] tools: Reduce table width in virsh(1)
Posted by Michal Privoznik 4 years, 11 months ago
On 4/15/19 4:53 PM, Andrea Bolognani wrote:
> The table included in the sample output for 'list --title' is
> unnecessarily wide, which causes man to complain:
> 
>    warning [p 8, 0.5i]: can't break line
> 
> Make the table narrower.
> 
> Spotted by Lintian (manpage-has-errors-from-man tag).
> 
> Signed-off-by: Andrea Bolognani <abologna@redhat.com>
> ---
>   tools/virsh.pod | 8 ++++----
>   1 file changed, 4 insertions(+), 4 deletions(-)

ACK

Michal

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list