nsenter: Rename --network option to --net
authorEuan Harris <euan.harris@docker.com>
Thu, 3 May 2018 12:34:46 +0000 (13:34 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 13 May 2018 16:58:23 +0000 (18:58 +0200)
commit40394cb1c963c35d2daa9570ba968afa981cf1fc
tree685dbd2124281c6060078f6238bcfd9dacaeafd8
parentd80eecb86812c1fbda652f9b995060c26ba0b155
nsenter: Rename --network option to --net

In nsenter from util-linux, the long version of the -n option is
--net=<path>.   BusyBox's version expects --network=<path>, so scripts
and examples written for util-linux's version cause BusyBox's version
to exit with the usage message.

Confusingly, until commit 036585a911a5f, the usage message erroneously
claimed that the long option was indeed called --net; after that commit
long options are not listed at all.

Signed-off-by: Euan Harris <euan.harris@docker.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/nsenter.c