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>
Tue, 22 May 2018 15:52:51 +0000 (17:52 +0200)
commitadb69765e52ad32608e3b56e0dd70a0510ab1b7c
tree0f24d33da066b57d19d2eb58cf64ad4faccaeb93
parent70baf859a61391746c409e9e219b236b3011dcc2
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