From 6d0f86d86896877d659e6c8ea6cb441eeaefb6e6 Mon Sep 17 00:00:00 2001 From: Matthew Leeds Date: Mon, 27 Feb 2017 14:50:16 -0600 Subject: [PATCH] doc: Mention that flatpak-run can be used with runtimes The ability to use flatpak-run to enter into a shell in a runtime was added in flatpak 0.6.13 but the docs weren't updated to reflect that. This commit updates the flatpak-run documentation to explain the functionality. --- doc/flatpak-run.xml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/doc/flatpak-run.xml b/doc/flatpak-run.xml index 50b419fa..b21f9a54 100644 --- a/doc/flatpak-run.xml +++ b/doc/flatpak-run.xml @@ -25,14 +25,14 @@ flatpak-run - Run an application + Run an application or open a shell in a runtime flatpak run OPTION - APP + REF ARG @@ -41,9 +41,13 @@ Description - Runs an application in a sandboxed environment. - APP must name an installed application. - Extra arguments are passed on to the application. + If REF names an installed application, + flatpak runs the application in a sandboxed environment. Extra + arguments are passed on to the application. + + + If REF names a runtime, a shell is opened in the + runtime. This is useful for development and testing. flatpak creates a sandboxed environment for the application to run in @@ -345,6 +349,9 @@ $ flatpak run --devel --command=bash org.gnome.Builder + + $ flatpak run --command=bash org.gnome.Sdk +