summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-04-09 19:35:16 +0100
committerRichard Jones <rjones@redhat.com>2009-04-09 19:35:16 +0100
commit0677b12f2273ed266da9dd276c129342d6a939a2 (patch)
treeefa954d880456b00f00adead4a4e6ffd0afb654e /src
parent42643f08970c2efa5cb71a92166fbe323474c203 (diff)
downloadlibguestfs-0677b12f2273ed266da9dd276c129342d6a939a2.tar.gz
libguestfs-0677b12f2273ed266da9dd276c129342d6a939a2.tar.xz
libguestfs-0677b12f2273ed266da9dd276c129342d6a939a2.zip
Add aug-ls command (non-generated code).
Diffstat (limited to 'src')
-rwxr-xr-xsrc/generator.ml6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/generator.ml b/src/generator.ml
index 4279c0d2..c8809e49 100755
--- a/src/generator.ml
+++ b/src/generator.ml
@@ -473,6 +473,12 @@ Load files into the tree.
See C<aug_load> in the Augeas documentation for the full gory
details.");
+
+ ("aug_ls", (RStringList "matches", P1 (String "path")), 28, [],
+ "list Augeas nodes under a path",
+ "\
+This is just a shortcut for listing C<guestfs_aug_match>
+C<path/*> and sorting the files into alphabetical order.");
]
let all_functions = non_daemon_functions @ daemon_functions