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

Wanlong Gao gaowanlong at cn.fujitsu.com
Wed Apr 11 14:07:14 UTC 2012

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

Signed-off-by: Wanlong Gao <gaowanlong at 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

More information about the Libguestfs mailing list