[PATCH 2/2] unshare: fix help screen typo

Assaf Gordon assafgordon at gmail.com
Sat May 13 03:25:04 UTC 2017


"-r/--map-root-user" implies "-U/--user", not "-u/--uts".

Signed-off-by: Assaf Gordon <assafgordon at gmail.com>
---
 util-linux/unshare.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util-linux/unshare.c b/util-linux/unshare.c
index 52e8f14..44f7562 100644
--- a/util-linux/unshare.c
+++ b/util-linux/unshare.c
@@ -32,7 +32,7 @@
 //usage:     "\n	-p,--pid[=FILE]		Unshare PID namespace"
 //usage:     "\n	-U,--user[=FILE]	Unshare user namespace"
 //usage:     "\n	-f,--fork		Fork before execing PROG"
-//usage:     "\n	-r,--map-root-user	Map current user to root (implies -u)"
+//usage:     "\n	-r,--map-root-user	Map current user to root (implies -U)"
 //usage:     "\n	--mount-proc[=DIR]	Mount /proc filesystem first (implies -m)"
 //usage:     "\n	--propagation slave|shared|private|unchanged"
 //usage:     "\n				Modify mount propagation in mount namespace"
-- 
2.1.4



More information about the busybox mailing list