From 870c4365cf3d407270788abe14d216a636ecf6c3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 27 Feb 2013 22:25:40 -0500 Subject: [PATCH] man: document systemd-nspawn behaviour with -b Cf. cb96a2c69 and 1ddf879a. --- man/systemd-nspawn.xml | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml index 41477b46d..8adcd946b 100644 --- a/man/systemd-nspawn.xml +++ b/man/systemd-nspawn.xml @@ -51,7 +51,14 @@ systemd-nspawn OPTIONS - COMMAND + COMMAND + ARGS + + + + systemd-nspawn + -b + OPTIONS ARGS @@ -131,10 +138,16 @@ Options - If no arguments are passed the container is set - up and a shell started in it, otherwise the passed - command and arguments are executed in it. The - following options are understood: + If option is specified, the + arguments are used as arguments for the init + binary. Otherwise, COMMAND + specifies the program to launch in the container, and + the remaining arguments are used as arguments for this + program. If is not used and no + arguments are specifed, a shell is launched in the + container. + + The following options are understood: @@ -170,7 +183,10 @@ Automatically search for an init binary and invoke it instead of a shell or a user supplied - program. + program. If this option is used, arguments + specified on the command line are used + as arguments for the init binary. + -- 2.30.2