[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] [PATCH] sysprep: align the help message



Align the "virt-sysprep --help" output message.

Signed-off-by: Wanlong Gao <gaowanlong cn fujitsu com>
---
 sysprep/sysprep_operation_hostname.ml |    2 +-
 sysprep/sysprep_operation_script.ml   |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sysprep/sysprep_operation_hostname.ml b/sysprep/sysprep_operation_hostname.ml
index 51f9386..6f52e48 100644
--- a/sysprep/sysprep_operation_hostname.ml
+++ b/sysprep/sysprep_operation_hostname.ml
@@ -59,7 +59,7 @@ parameter.
 If the I<--hostname> parameter is not given, then the hostname is changed
 to C<localhost.localdomain>.";
   extra_args = [
-    ("--hostname", Arg.Set_string hostname, "hostname New hostname"),
+    ("--hostname", Arg.Set_string hostname, "hostname\tNew hostname"),
     "\
 Change the hostname.  If not given, defaults to C<localhost.localdomain>."
   ];
diff --git a/sysprep/sysprep_operation_script.ml b/sysprep/sysprep_operation_script.ml
index 977d41f..e68468c 100644
--- a/sysprep/sysprep_operation_script.ml
+++ b/sysprep/sysprep_operation_script.ml
@@ -133,7 +133,7 @@ guest's DNS configuration file, but C<rm /etc/resolv.conf> would
 Normally a temporary mount point for the guest is used, but you
 can choose a specific one by using the I<--scriptdir> parameter.";
   extra_args = [
-    ("--scriptdir", Arg.String set_scriptdir, "dir Mount point on host"),
+    ("--scriptdir", Arg.String set_scriptdir, "dir\tMount point on host"),
     "\
 The mount point (an empty directory on the host) used when
 the C<script> operation is enabled and one or more scripts
@@ -143,7 +143,7 @@ B<Note:> C<scriptdir> B<must> be an absolute path.
 
 If I<--scriptdir> is not specified then a temporary mountpoint
 will be created.";
-    ("--script", Arg.String add_script, "script Script or program to run on guest"),
+    ("--script", Arg.String add_script, "script\tScript or program to run on guest"),
     "\
 Run the named C<script> (a shell script or program) against the
 guest.  The script can be any program on the host.  The script's
-- 
1.7.10.rc3


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]