[Libguestfs] [PATCH 3/3] uuid: make alias get-uuid for vfs_uuid

Hu Tao hutao at cn.fujitsu.com
Fri Nov 28 07:58:07 UTC 2014


Because get-uuid looks more like a counterpart to set-uuid, and is
more likely come to mind if one knows set-uuid.

Signed-off-by: Hu Tao <hutao at cn.fujitsu.com>
---
 generator/actions.ml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/generator/actions.ml b/generator/actions.ml
index a35fe50..385b620 100644
--- a/generator/actions.ml
+++ b/generator/actions.ml
@@ -8540,6 +8540,7 @@ To find a filesystem from the label, use C<guestfs_findfs_label>." };
   { defaults with
     name = "vfs_uuid";
     style = RString "uuid", [Mountable "mountable"], [];
+    fish_alias = ["get-uuid"];
     proc_nr = Some 254;
     tests =
       (let uuid = uuidgen () in [
-- 
1.9.3




More information about the Libguestfs mailing list