From 1a8f977120dbc15b9a0dc29c4969cebde98ea3d0 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 01 Sep 2014 17:33:41 -0400 Subject: prokit-shell(1): Document command arguments --- (limited to 'man') diff --git a/man/prokit-shell.1in b/man/prokit-shell.1in index 8cac92a..956e88b 100644 --- a/man/prokit-shell.1in +++ b/man/prokit-shell.1in @@ -1,15 +1,25 @@ .TH prokit-shell 1 \ -"2014-08-25" "@PACKAGE_NAME@ @PACKAGE_VERSION@" "@MANUAL@" +"2014-09-01" "@PACKAGE_NAME@ @PACKAGE_VERSION@" "@MANUAL@" .SH NAME prokit-shell \- Run a shell in an isolated environment .SH SYNOPSIS -\fBprokit shell\fP \fIroot-dir\fP +\fBprokit shell\fP \fIroot-dir\fP [\fIcommand\fP [\fIargument\fP ...]] .SH DESCRIPTION \fBprokit shell\fP starts a shell in an isolated file system environment (using \fBchroot\fP(8)) with basic file systems mounted. +.P +If a \fIcommand\fP is given (with optional \fIargument\fPs), it is executed in a +non-interactive shell. + +.SH EXAMPLES + +.IP \[bu] +# prokit shell $root echo Hello world +.IP \[bu] +# prokit shell $root 'opkg install build-essential-$(cat /etc/proteanos_arch)' .SH COPYRIGHT Copyright (C) 2014 Patrick "P. J." McDermott -- cgit v0.9.1