From d112b320b2deb87fba03796fb3b1fc3e10cde498 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 15 Jan 2015 23:30:17 -0500 Subject: [PATCH] Document the repo-contents command --- doc/Makefile.am | 1 + doc/xdg-app-repo-contents.xml | 138 ++++++++++++++++++++++++++++++++++ doc/xdg-app.xml | 7 ++ 3 files changed, 146 insertions(+) create mode 100644 doc/xdg-app-repo-contents.xml diff --git a/doc/Makefile.am b/doc/Makefile.am index 477df015..9f44b23a 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -17,6 +17,7 @@ man_MANS = \ xdg-app-add-repo.1 \ xdg-app-delete-repo.1 \ xdg-app-list-repos.1 \ + xdg-app-repo-contents.1 \ xdg-app-install-runtime.1 \ xdg-app-update-runtime.1 \ xdg-app-list-runtimes.1 \ diff --git a/doc/xdg-app-repo-contents.xml b/doc/xdg-app-repo-contents.xml new file mode 100644 index 00000000..1e69c370 --- /dev/null +++ b/doc/xdg-app-repo-contents.xml @@ -0,0 +1,138 @@ + + + + + + + dxg-app repo-contents + xdg-app + + + + Developer + Alexander + Larsson + alexl@redhat.com + + + + + + xdg-app repo-contents + 1 + + + + xdg-app-repo-contents + Show available runtimes and applications + + + + + xdg-app repo-contents + OPTION + + + + + Description + + + Shows runtimes and applications that are available in the configured + repositories. + + + xdg-app can operate in system-wide or per-user mode. The system-wide + applications are located in $prefix/share/xdg-app/app, + and the per-user runtimes are in $HOME/.local/share/xdg-app/app. + + + xdg-app uses OSTree, and installed appications are OSTree checkouts. + + + + + + Options + + The following options are understood: + + + + + + + + Show help options and exit. + + + + + + + + Work on the per-user configuration instead of the system-wide + configuration. + + + + + + + + Show arches and branches, in addition to the names. + + + + + + + + Show only runtimes, omit applications. + + + + + + + + Show only applications, omit runtimes. + + + + + + + + + Print debug information during command processing. + + + + + + + + Print version information and exit. + + + + + + + Examples + + + $ xdg-app --user repo-contents --only-apps + + +org.gnome.Builder +org.freedesktop.glxgears +org.gnome.MyApp +org.gnome.GEdit + + + + + diff --git a/doc/xdg-app.xml b/doc/xdg-app.xml index 414d75ca..8a180359 100644 --- a/doc/xdg-app.xml +++ b/doc/xdg-app.xml @@ -109,6 +109,13 @@ Lists remote repositories. + + xdg-app-repo-contents1 + + + Show available runtimes and applications. + + xdg-app-install-runtime1