Merge pull request #593 from mwleeds/update-run-docs

doc: Mention that flatpak-run can be used with runtimes
This commit is contained in:
Matthias Clasen
2017-03-01 10:30:55 -05:00
committed by GitHub

View File

@@ -25,14 +25,14 @@
<refnamediv>
<refname>flatpak-run</refname>
<refpurpose>Run an application</refpurpose>
<refpurpose>Run an application or open a shell in a runtime</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>flatpak run</command>
<arg choice="opt" rep="repeat">OPTION</arg>
<arg choice="plain">APP</arg>
<arg choice="plain">REF</arg>
<arg choice="opt" rep="repeat">ARG</arg>
</cmdsynopsis>
</refsynopsisdiv>
@@ -41,9 +41,13 @@
<title>Description</title>
<para>
Runs an application in a sandboxed environment.
<arg choice="plain">APP</arg> must name an installed application.
Extra arguments are passed on to the application.
If <arg choice="plain">REF</arg> names an installed application,
flatpak runs the application in a sandboxed environment. Extra
arguments are passed on to the application.
</para>
<para>
If <arg choice="plain">REF</arg> names a runtime, a shell is opened in the
runtime. This is useful for development and testing.
</para>
<para>
flatpak creates a sandboxed environment for the application to run in
@@ -345,6 +349,9 @@
<para>
<command>$ flatpak run --devel --command=bash org.gnome.Builder</command>
</para>
<para>
<command>$ flatpak run --command=bash org.gnome.Sdk</command>
</para>
</refsect1>