From: Marek Majkowski Date: Wed, 13 Nov 2013 15:04:27 +0000 (-0800) Subject: Cosmetic: shorten the options summary in documentation X-Git-Tag: lxc-1.0.0.beta1~93^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=304dc8b3ff5d14229942d314bb3bfc44cede68de;p=thirdparty%2Flxc.git Cosmetic: shorten the options summary in documentation --- diff --git a/doc/lxc-start.sgml.in b/doc/lxc-start.sgml.in index 766a4ec2b..07f9845b8 100644 --- a/doc/lxc-start.sgml.in +++ b/doc/lxc-start.sgml.in @@ -57,8 +57,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -p pid_file -s KEY=VAL -C - --share-net name|pid - --share-ipc name|pid + --share-[net|ipc|uts] name|pid command diff --git a/src/lxc/lxc_start.c b/src/lxc/lxc_start.c index 02867fb2e..33f2fe5ab 100644 --- a/src/lxc/lxc_start.c +++ b/src/lxc/lxc_start.c @@ -191,9 +191,7 @@ Options :\n\ If not specified, exit with failure instead\n\ Note: --daemon implies --close-all-fds\n\ -s, --define KEY=VAL Assign VAL to configuration variable KEY\n\ - --share-net=NAME Share a network namespace with another container or pid\n\ - --share-ipc=NAME Share an IPC namespace with another container or pid\n\ - --share-uts=NAME Share a UTS namespace with another container or pid\n\ + --share-[net|ipc|uts]=NAME Share a namespace with another container or pid\n\ ", .options = my_longopts, .parser = my_parser,