]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
nspawn: Add --bind-user-shell= to --help
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 21 Oct 2025 19:31:29 +0000 (21:31 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 6 Nov 2025 21:26:42 +0000 (21:26 +0000)
(cherry picked from commit 64d5bb4d53a5d002b15d9ff6aa1a0a09597e2074)

src/nspawn/nspawn.c

index b1b565091c692b38a06f5f2519f42aa8cba96750..811210061b18df93fba426836035488fdc68ce1a 100644 (file)
@@ -464,6 +464,8 @@ static int help(void) {
                "     --overlay-ro=PATH[:PATH...]:PATH\n"
                "                            Similar, but creates a read-only overlay mount\n"
                "     --bind-user=NAME       Bind user from host to container\n"
+               "     --bind-user-shell=BOOL|PATH\n"
+               "                            Configure the shell to use for --bind-user= users\n"
                "\n%3$sInput/Output:%4$s\n"
                "     --console=MODE         Select how stdin/stdout/stderr and /dev/console are\n"
                "                            set up for the container.\n"