mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone

Blame SOURCES/0062-rescue-Don-t-document-suggest-option-in-help-output.patch

a30de4
From b8e5d0c7c03f7b96d6a60c505d227d9de3ba582d Mon Sep 17 00:00:00 2001
a30de4
From: "Richard W.M. Jones" <rjones@redhat.com>
a30de4
Date: Sat, 25 Mar 2017 23:34:09 +0000
a30de4
Subject: [PATCH] rescue: Don't document --suggest option in --help output.
a30de4
a30de4
Also fix the docs test to ignore it.
a30de4
a30de4
Updates/fixes commit 33d2ae796119ae5dd38e2afcbf1ba4216bd99846.
a30de4
a30de4
(cherry picked from commit aa7b7e26c3aa434f2b299055df63c52fb3a2f93f)
a30de4
---
a30de4
 rescue/rescue.c                 | 1 -
a30de4
 rescue/test-virt-rescue-docs.sh | 3 ++-
a30de4
 2 files changed, 2 insertions(+), 2 deletions(-)
a30de4
a30de4
diff --git a/rescue/rescue.c b/rescue/rescue.c
a30de4
index a1aac53e4..6f9dcd733 100644
a30de4
--- a/rescue/rescue.c
a30de4
+++ b/rescue/rescue.c
a30de4
@@ -101,7 +101,6 @@ usage (int status)
a30de4
               "  --scratch[=N]        Add scratch disk(s)\n"
a30de4
               "  --selinux            For backwards compat only, does nothing\n"
a30de4
               "  --smp N              Enable SMP with N >= 2 virtual CPUs\n"
a30de4
-              "  --suggest            Suggest mount commands for this guest\n"
a30de4
               "  -v|--verbose         Verbose messages\n"
a30de4
               "  -V|--version         Display version and exit\n"
a30de4
               "  -w|--rw              Mount read-write\n"
a30de4
diff --git a/rescue/test-virt-rescue-docs.sh b/rescue/test-virt-rescue-docs.sh
a30de4
index 25f8f6095..e5fbf26f4 100755
a30de4
--- a/rescue/test-virt-rescue-docs.sh
a30de4
+++ b/rescue/test-virt-rescue-docs.sh
a30de4
@@ -21,4 +21,5 @@ set -e
a30de4
 $TEST_FUNCTIONS
a30de4
 skip_if_skipped
a30de4
 
a30de4
-$top_srcdir/podcheck.pl virt-rescue.pod virt-rescue
a30de4
+$top_srcdir/podcheck.pl virt-rescue.pod virt-rescue \
a30de4
+                        --ignore=--suggest
a30de4
-- 
a30de4
2.14.3
a30de4