aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-08-22 20:19:34 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2016-08-22 20:19:34 +0200
commit2cf9fa6e597d0706b66e0c01f02b486fd0c9f77d (patch)
treefec583cd64e7b3d687fe486914672c717992d4f9 /util-linux
parentb28897849fc3518456d86e26ca61f7d9d465b03f (diff)
downloadbusybox-2cf9fa6e597d0706b66e0c01f02b486fd0c9f77d.tar.gz
unshare: --network should be --net. Closes 9116
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/unshare.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/unshare.c b/util-linux/unshare.c
index fa7086add..dcc59559a 100644
--- a/util-linux/unshare.c
+++ b/util-linux/unshare.c
@@ -103,7 +103,7 @@ enum {
OPT_mount = 1 << 0,
OPT_uts = 1 << 1,
OPT_ipc = 1 << 2,
- OPT_network = 1 << 3,
+ OPT_net = 1 << 3,
OPT_pid = 1 << 4,
OPT_user = 1 << 5, /* OPT_user, NS_USR_POS, and ns_list[] index must match! */
OPT_fork = 1 << 6,
@@ -142,7 +142,7 @@ static const char unshare_longopts[] ALIGN1 =
"mount\0" Optional_argument "\xf0"
"uts\0" Optional_argument "\xf1"
"ipc\0" Optional_argument "\xf2"
- "network\0" Optional_argument "\xf3"
+ "net\0" Optional_argument "\xf3"
"pid\0" Optional_argument "\xf4"
"user\0" Optional_argument "\xf5"
"fork\0" No_argument "f"