aboutsummaryrefslogtreecommitdiff
path: root/util-linux/nsenter.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/nsenter.c')
-rw-r--r--util-linux/nsenter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/nsenter.c b/util-linux/nsenter.c
index c6933c8d5..ae8103a52 100644
--- a/util-linux/nsenter.c
+++ b/util-linux/nsenter.c
@@ -105,14 +105,14 @@ static const struct namespace_descr ns_list[] = {
105/* 105/*
106 * Upstream nsenter doesn't support the short option for --preserve-credentials 106 * Upstream nsenter doesn't support the short option for --preserve-credentials
107 */ 107 */
108static const char opt_str[] ALIGN1 = "U::i::u::n::p::m::""t+S+G+r::w::F"; 108static const char opt_str[] ALIGN1 = "U::i::u::n::p::m::""t:+S:+G:+r::w::F";
109 109
110#if ENABLE_LONG_OPTS 110#if ENABLE_LONG_OPTS
111static const char nsenter_longopts[] ALIGN1 = 111static const char nsenter_longopts[] ALIGN1 =
112 "user\0" Optional_argument "U" 112 "user\0" Optional_argument "U"
113 "ipc\0" Optional_argument "i" 113 "ipc\0" Optional_argument "i"
114 "uts\0" Optional_argument "u" 114 "uts\0" Optional_argument "u"
115 "network\0" Optional_argument "n" 115 "net\0" Optional_argument "n"
116 "pid\0" Optional_argument "p" 116 "pid\0" Optional_argument "p"
117 "mount\0" Optional_argument "m" 117 "mount\0" Optional_argument "m"
118 "target\0" Required_argument "t" 118 "target\0" Required_argument "t"