[Libguestfs] [PATCH] customize: remove "core" from description of --update

Pino Toscano ptoscano at redhat.com
Tue May 3 12:13:35 UTC 2016


--update invokes a distribution update, updating all the installed
packages and not just some "core" ones.
---
 customize/customize_run.ml | 2 +-
 generator/customize.ml     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/customize/customize_run.ml b/customize/customize_run.ml
index 82c4edd..83e70a6 100644
--- a/customize/customize_run.ml
+++ b/customize/customize_run.ml
@@ -320,7 +320,7 @@ exec >>%s 2>&1
       g#touch path
 
     | `Update ->
-      message (f_"Updating core packages");
+      message (f_"Updating packages");
       let cmd = guest_update_command () in
       do_run ~display:cmd cmd
 
diff --git a/generator/customize.ml b/generator/customize.ml
index 55ee252..3d3f978 100644
--- a/generator/customize.ml
+++ b/generator/customize.ml
@@ -427,7 +427,7 @@ This command performs a L<touch(1)>-like operation on C<FILE>.";
   { op_name = "update";
     op_type = Unit;
     op_discrim = "`Update";
-    op_shortdesc = "Update core packages";
+    op_shortdesc = "Update packages";
     op_pod_longdesc = "\
 Do the equivalent of C<yum update>, C<apt-get upgrade>, or whatever
 command is required to update the packages already installed in the
-- 
2.5.5




More information about the Libguestfs mailing list