forked from Mirrors/flatpak-builder
Shorten some options of the repo-contents command
Make the options just --apps and --runtimes. Less typing.tingping/wmclass
parent
4490029880
commit
597046e78f
|
@ -5,7 +5,7 @@
|
|||
<refentry id="xdg-app-repo-contents">
|
||||
|
||||
<refentryinfo>
|
||||
<title>dxg-app repo-contents</title>
|
||||
<title>xdg-app repo-contents</title>
|
||||
<productname>xdg-app</productname>
|
||||
|
||||
<authorgroup>
|
||||
|
@ -41,7 +41,8 @@
|
|||
|
||||
<para>
|
||||
Shows runtimes and applications that are available in the
|
||||
repository <arg choice="plain">REPOSITORY</arg>.
|
||||
remote repository with the name <arg choice="plain">REPOSITORY</arg>.
|
||||
You can find all configured remote repositories with xdg-app list-repos.
|
||||
</para>
|
||||
<para>
|
||||
xdg-app can operate in system-wide or per-user mode. The system-wide
|
||||
|
@ -87,7 +88,7 @@
|
|||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--only-runtimes</option></term>
|
||||
<term><option>--runtimes</option></term>
|
||||
|
||||
<listitem><para>
|
||||
Show only runtimes, omit applications.
|
||||
|
@ -95,7 +96,7 @@
|
|||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--only-apps</option></term>
|
||||
<term><option>--apps</option></term>
|
||||
|
||||
<listitem><para>
|
||||
Show only applications, omit runtimes.
|
||||
|
|
|
@ -16,8 +16,8 @@ static gboolean opt_only_apps;
|
|||
|
||||
static GOptionEntry options[] = {
|
||||
{ "show-details", 0, 0, G_OPTION_ARG_NONE, &opt_show_details, "Show arches and branches", NULL },
|
||||
{ "only-runtimes", 0, 0, G_OPTION_ARG_NONE, &opt_only_runtimes, "Show only runtimes", NULL },
|
||||
{ "only-apps", 0, 0, G_OPTION_ARG_NONE, &opt_only_apps, "Show only apps", NULL },
|
||||
{ "runtimes", 0, 0, G_OPTION_ARG_NONE, &opt_only_runtimes, "Show only runtimes", NULL },
|
||||
{ "apps", 0, 0, G_OPTION_ARG_NONE, &opt_only_apps, "Show only apps", NULL },
|
||||
{ NULL }
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue