Browse code

fix 'oadm policy' description error

Yanqiang Miao authored on 2016/08/24 09:38:51
Showing 43 changed files
... ...
@@ -458,16 +458,16 @@ Make project network global
458 458
 
459 459
 
460 460
 == oadm policy add-role-to-user
461
-Add users or serviceaccounts to a role in the current project
461
+Add a role to users or serviceaccounts for the current project
462 462
 
463 463
 ====
464 464
 
465 465
 [options="nowrap"]
466 466
 ----
467
-  # Add the 'view' role to user1 in the current project
467
+  # Add the 'view' role to user1 for the current project
468 468
   oadm policy add-role-to-user view user1
469 469
 
470
-  # Add the 'edit' role to serviceaccount1 in the current project
470
+  # Add the 'edit' role to serviceaccount1 for the current project
471 471
   oadm policy add-role-to-user edit -z serviceaccount1
472 472
 ----
473 473
 ====
... ...
@@ -458,16 +458,16 @@ Make project network global
458 458
 
459 459
 
460 460
 == oc adm policy add-role-to-user
461
-Add users or serviceaccounts to a role in the current project
461
+Add a role to users or serviceaccounts for the current project
462 462
 
463 463
 ====
464 464
 
465 465
 [options="nowrap"]
466 466
 ----
467
-  # Add the 'view' role to user1 in the current project
467
+  # Add the 'view' role to user1 for the current project
468 468
   oc adm policy add-role-to-user view user1
469 469
 
470
-  # Add the 'edit' role to serviceaccount1 in the current project
470
+  # Add the 'edit' role to serviceaccount1 for the current project
471 471
   oc adm policy add-role-to-user edit -z serviceaccount1
472 472
 ----
473 473
 ====
... ...
@@ -1851,16 +1851,16 @@ Update field(s) of a resource using strategic merge patch.
1851 1851
 
1852 1852
 
1853 1853
 == oc policy add-role-to-user
1854
-Add users or serviceaccounts to a role in the current project
1854
+Add a role to users or serviceaccounts for the current project
1855 1855
 
1856 1856
 ====
1857 1857
 
1858 1858
 [options="nowrap"]
1859 1859
 ----
1860
-  # Add the 'view' role to user1 in the current project
1860
+  # Add the 'view' role to user1 for the current project
1861 1861
   oc policy add-role-to-user view user1
1862 1862
 
1863
-  # Add the 'edit' role to serviceaccount1 in the current project
1863
+  # Add the 'edit' role to serviceaccount1 for the current project
1864 1864
   oc policy add-role-to-user edit -z serviceaccount1
1865 1865
 ----
1866 1866
 ====
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-oadm policy add\-cluster\-role\-to\-group \- Add groups to a role for all projects in the cluster
6
+oadm policy add\-cluster\-role\-to\-group \- Add a role to groups for all projects in the cluster
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ oadm policy add\-cluster\-role\-to\-group \- Add groups to a role for all projec
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Add groups to a role for all projects in the cluster
16
+Add a role to groups for all projects in the cluster
17 17
 
18 18
 
19 19
 .SH OPTIONS INHERITED FROM PARENT COMMANDS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-oadm policy add\-cluster\-role\-to\-user \- Add users to a role for all projects in the cluster
6
+oadm policy add\-cluster\-role\-to\-user \- Add a role to users for all projects in the cluster
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ oadm policy add\-cluster\-role\-to\-user \- Add users to a role for all projects
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Add users to a role for all projects in the cluster
16
+Add a role to users for all projects in the cluster
17 17
 
18 18
 
19 19
 .SH OPTIONS INHERITED FROM PARENT COMMANDS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-oadm policy add\-role\-to\-group \- Add groups to a role in the current project
6
+oadm policy add\-role\-to\-group \- Add a role to groups for the current project
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ oadm policy add\-role\-to\-group \- Add groups to a role in the current project
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Add groups to a role in the current project
16
+Add a role to groups for the current project
17 17
 
18 18
 
19 19
 .SH OPTIONS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-oadm policy add\-role\-to\-user \- Add users or serviceaccounts to a role in the current project
6
+oadm policy add\-role\-to\-user \- Add a role to users or serviceaccounts for the current project
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ oadm policy add\-role\-to\-user \- Add users or serviceaccounts to a role in the
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Add users or serviceaccounts to a role in the current project
16
+Add a role to users or serviceaccounts for the current project
17 17
 
18 18
 
19 19
 .SH OPTIONS
... ...
@@ -97,10 +97,10 @@ Add users or serviceaccounts to a role in the current project
97 97
 .RS
98 98
 
99 99
 .nf
100
-  # Add the 'view' role to user1 in the current project
100
+  # Add the 'view' role to user1 for the current project
101 101
   oadm policy add\-role\-to\-user view user1
102 102
 
103
-  # Add the 'edit' role to serviceaccount1 in the current project
103
+  # Add the 'edit' role to serviceaccount1 for the current project
104 104
   oadm policy add\-role\-to\-user edit \-z serviceaccount1
105 105
 
106 106
 .fi
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-oadm policy remove\-cluster\-role\-from\-group \- Remove group from role for all projects in the cluster
6
+oadm policy remove\-cluster\-role\-from\-group \- Remove a role from groups for all projects in the cluster
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ oadm policy remove\-cluster\-role\-from\-group \- Remove group from role for all
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Remove group from role for all projects in the cluster
16
+Remove a role from groups for all projects in the cluster
17 17
 
18 18
 
19 19
 .SH OPTIONS INHERITED FROM PARENT COMMANDS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-oadm policy remove\-cluster\-role\-from\-user \- Remove user from role for all projects in the cluster
6
+oadm policy remove\-cluster\-role\-from\-user \- Remove a role from users for all projects in the cluster
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ oadm policy remove\-cluster\-role\-from\-user \- Remove user from role for all p
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Remove user from role for all projects in the cluster
16
+Remove a role from users for all projects in the cluster
17 17
 
18 18
 
19 19
 .SH OPTIONS INHERITED FROM PARENT COMMANDS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-oadm policy remove\-role\-from\-group \- Remove group from role in the current project
6
+oadm policy remove\-role\-from\-group \- Remove a role from groups for the current project
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ oadm policy remove\-role\-from\-group \- Remove group from role in the current p
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Remove group from role in the current project
16
+Remove a role from groups for the current project
17 17
 
18 18
 
19 19
 .SH OPTIONS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-oadm policy remove\-role\-from\-user \- Remove user from role in the current project
6
+oadm policy remove\-role\-from\-user \- Remove a role from users for the current project
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ oadm policy remove\-role\-from\-user \- Remove user from role in the current pro
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Remove user from role in the current project
16
+Remove a role from users for the current project
17 17
 
18 18
 
19 19
 .SH OPTIONS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-oc adm policy add\-cluster\-role\-to\-group \- Add groups to a role for all projects in the cluster
6
+oc adm policy add\-cluster\-role\-to\-group \- Add a role to groups for all projects in the cluster
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ oc adm policy add\-cluster\-role\-to\-group \- Add groups to a role for all proj
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Add groups to a role for all projects in the cluster
16
+Add a role to groups for all projects in the cluster
17 17
 
18 18
 
19 19
 .SH OPTIONS INHERITED FROM PARENT COMMANDS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-oc adm policy add\-cluster\-role\-to\-user \- Add users to a role for all projects in the cluster
6
+oc adm policy add\-cluster\-role\-to\-user \- Add a role to users for all projects in the cluster
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ oc adm policy add\-cluster\-role\-to\-user \- Add users to a role for all projec
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Add users to a role for all projects in the cluster
16
+Add a role to users for all projects in the cluster
17 17
 
18 18
 
19 19
 .SH OPTIONS INHERITED FROM PARENT COMMANDS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-oc adm policy add\-role\-to\-group \- Add groups to a role in the current project
6
+oc adm policy add\-role\-to\-group \- Add a role to groups for the current project
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ oc adm policy add\-role\-to\-group \- Add groups to a role in the current projec
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Add groups to a role in the current project
16
+Add a role to groups for the current project
17 17
 
18 18
 
19 19
 .SH OPTIONS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-oc adm policy add\-role\-to\-user \- Add users or serviceaccounts to a role in the current project
6
+oc adm policy add\-role\-to\-user \- Add a role to users or serviceaccounts for the current project
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ oc adm policy add\-role\-to\-user \- Add users or serviceaccounts to a role in t
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Add users or serviceaccounts to a role in the current project
16
+Add a role to users or serviceaccounts for the current project
17 17
 
18 18
 
19 19
 .SH OPTIONS
... ...
@@ -97,10 +97,10 @@ Add users or serviceaccounts to a role in the current project
97 97
 .RS
98 98
 
99 99
 .nf
100
-  # Add the 'view' role to user1 in the current project
100
+  # Add the 'view' role to user1 for the current project
101 101
   oc adm policy add\-role\-to\-user view user1
102 102
 
103
-  # Add the 'edit' role to serviceaccount1 in the current project
103
+  # Add the 'edit' role to serviceaccount1 for the current project
104 104
   oc adm policy add\-role\-to\-user edit \-z serviceaccount1
105 105
 
106 106
 .fi
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-oc adm policy remove\-cluster\-role\-from\-group \- Remove group from role for all projects in the cluster
6
+oc adm policy remove\-cluster\-role\-from\-group \- Remove a role from groups for all projects in the cluster
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ oc adm policy remove\-cluster\-role\-from\-group \- Remove group from role for a
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Remove group from role for all projects in the cluster
16
+Remove a role from groups for all projects in the cluster
17 17
 
18 18
 
19 19
 .SH OPTIONS INHERITED FROM PARENT COMMANDS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-oc adm policy remove\-cluster\-role\-from\-user \- Remove user from role for all projects in the cluster
6
+oc adm policy remove\-cluster\-role\-from\-user \- Remove a role from users for all projects in the cluster
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ oc adm policy remove\-cluster\-role\-from\-user \- Remove user from role for all
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Remove user from role for all projects in the cluster
16
+Remove a role from users for all projects in the cluster
17 17
 
18 18
 
19 19
 .SH OPTIONS INHERITED FROM PARENT COMMANDS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-oc adm policy remove\-role\-from\-group \- Remove group from role in the current project
6
+oc adm policy remove\-role\-from\-group \- Remove a role from groups for the current project
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ oc adm policy remove\-role\-from\-group \- Remove group from role in the current
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Remove group from role in the current project
16
+Remove a role from groups for the current project
17 17
 
18 18
 
19 19
 .SH OPTIONS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-oc adm policy remove\-role\-from\-user \- Remove user from role in the current project
6
+oc adm policy remove\-role\-from\-user \- Remove a role from users for the current project
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ oc adm policy remove\-role\-from\-user \- Remove user from role in the current p
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Remove user from role in the current project
16
+Remove a role from users for the current project
17 17
 
18 18
 
19 19
 .SH OPTIONS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-oc policy add\-role\-to\-group \- Add groups to a role in the current project
6
+oc policy add\-role\-to\-group \- Add a role to groups for the current project
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ oc policy add\-role\-to\-group \- Add groups to a role in the current project
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Add groups to a role in the current project
16
+Add a role to groups for the current project
17 17
 
18 18
 
19 19
 .SH OPTIONS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-oc policy add\-role\-to\-user \- Add users or serviceaccounts to a role in the current project
6
+oc policy add\-role\-to\-user \- Add a role to users or serviceaccounts for the current project
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ oc policy add\-role\-to\-user \- Add users or serviceaccounts to a role in the c
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Add users or serviceaccounts to a role in the current project
16
+Add a role to users or serviceaccounts for the current project
17 17
 
18 18
 
19 19
 .SH OPTIONS
... ...
@@ -97,10 +97,10 @@ Add users or serviceaccounts to a role in the current project
97 97
 .RS
98 98
 
99 99
 .nf
100
-  # Add the 'view' role to user1 in the current project
100
+  # Add the 'view' role to user1 for the current project
101 101
   oc policy add\-role\-to\-user view user1
102 102
 
103
-  # Add the 'edit' role to serviceaccount1 in the current project
103
+  # Add the 'edit' role to serviceaccount1 for the current project
104 104
   oc policy add\-role\-to\-user edit \-z serviceaccount1
105 105
 
106 106
 .fi
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-oc policy remove\-role\-from\-group \- Remove group from role in the current project
6
+oc policy remove\-role\-from\-group \- Remove a role from groups for the current project
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ oc policy remove\-role\-from\-group \- Remove group from role in the current pro
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Remove group from role in the current project
16
+Remove a role from groups for the current project
17 17
 
18 18
 
19 19
 .SH OPTIONS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-oc policy remove\-role\-from\-user \- Remove user from role in the current project
6
+oc policy remove\-role\-from\-user \- Remove a role from users for the current project
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ oc policy remove\-role\-from\-user \- Remove user from role in the current proje
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Remove user from role in the current project
16
+Remove a role from users for the current project
17 17
 
18 18
 
19 19
 .SH OPTIONS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-openshift admin policy add\-cluster\-role\-to\-group \- Add groups to a role for all projects in the cluster
6
+openshift admin policy add\-cluster\-role\-to\-group \- Add a role to groups for all projects in the cluster
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ openshift admin policy add\-cluster\-role\-to\-group \- Add groups to a role for
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Add groups to a role for all projects in the cluster
16
+Add a role to groups for all projects in the cluster
17 17
 
18 18
 
19 19
 .SH OPTIONS INHERITED FROM PARENT COMMANDS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-openshift admin policy add\-cluster\-role\-to\-user \- Add users to a role for all projects in the cluster
6
+openshift admin policy add\-cluster\-role\-to\-user \- Add a role to users for all projects in the cluster
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ openshift admin policy add\-cluster\-role\-to\-user \- Add users to a role for a
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Add users to a role for all projects in the cluster
16
+Add a role to users for all projects in the cluster
17 17
 
18 18
 
19 19
 .SH OPTIONS INHERITED FROM PARENT COMMANDS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-openshift admin policy add\-role\-to\-group \- Add groups to a role in the current project
6
+openshift admin policy add\-role\-to\-group \- Add a role to groups for the current project
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ openshift admin policy add\-role\-to\-group \- Add groups to a role in the curre
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Add groups to a role in the current project
16
+Add a role to groups for the current project
17 17
 
18 18
 
19 19
 .SH OPTIONS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-openshift admin policy add\-role\-to\-user \- Add users or serviceaccounts to a role in the current project
6
+openshift admin policy add\-role\-to\-user \- Add a role to users or serviceaccounts for the current project
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ openshift admin policy add\-role\-to\-user \- Add users or serviceaccounts to a
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Add users or serviceaccounts to a role in the current project
16
+Add a role to users or serviceaccounts for the current project
17 17
 
18 18
 
19 19
 .SH OPTIONS
... ...
@@ -97,10 +97,10 @@ Add users or serviceaccounts to a role in the current project
97 97
 .RS
98 98
 
99 99
 .nf
100
-  # Add the 'view' role to user1 in the current project
100
+  # Add the 'view' role to user1 for the current project
101 101
   openshift admin policy add\-role\-to\-user view user1
102 102
 
103
-  # Add the 'edit' role to serviceaccount1 in the current project
103
+  # Add the 'edit' role to serviceaccount1 for the current project
104 104
   openshift admin policy add\-role\-to\-user edit \-z serviceaccount1
105 105
 
106 106
 .fi
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-openshift admin policy remove\-cluster\-role\-from\-group \- Remove group from role for all projects in the cluster
6
+openshift admin policy remove\-cluster\-role\-from\-group \- Remove a role from groups for all projects in the cluster
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ openshift admin policy remove\-cluster\-role\-from\-group \- Remove group from r
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Remove group from role for all projects in the cluster
16
+Remove a role from groups for all projects in the cluster
17 17
 
18 18
 
19 19
 .SH OPTIONS INHERITED FROM PARENT COMMANDS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-openshift admin policy remove\-cluster\-role\-from\-user \- Remove user from role for all projects in the cluster
6
+openshift admin policy remove\-cluster\-role\-from\-user \- Remove a role from users for all projects in the cluster
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ openshift admin policy remove\-cluster\-role\-from\-user \- Remove user from rol
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Remove user from role for all projects in the cluster
16
+Remove a role from users for all projects in the cluster
17 17
 
18 18
 
19 19
 .SH OPTIONS INHERITED FROM PARENT COMMANDS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-openshift admin policy remove\-role\-from\-group \- Remove group from role in the current project
6
+openshift admin policy remove\-role\-from\-group \- Remove a role from groups for the current project
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ openshift admin policy remove\-role\-from\-group \- Remove group from role in th
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Remove group from role in the current project
16
+Remove a role from groups for the current project
17 17
 
18 18
 
19 19
 .SH OPTIONS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-openshift admin policy remove\-role\-from\-user \- Remove user from role in the current project
6
+openshift admin policy remove\-role\-from\-user \- Remove a role from users for the current project
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ openshift admin policy remove\-role\-from\-user \- Remove user from role in the
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Remove user from role in the current project
16
+Remove a role from users for the current project
17 17
 
18 18
 
19 19
 .SH OPTIONS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-openshift cli adm policy add\-cluster\-role\-to\-group \- Add groups to a role for all projects in the cluster
6
+openshift cli adm policy add\-cluster\-role\-to\-group \- Add a role to groups for all projects in the cluster
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ openshift cli adm policy add\-cluster\-role\-to\-group \- Add groups to a role f
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Add groups to a role for all projects in the cluster
16
+Add a role to groups for all projects in the cluster
17 17
 
18 18
 
19 19
 .SH OPTIONS INHERITED FROM PARENT COMMANDS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-openshift cli adm policy add\-cluster\-role\-to\-user \- Add users to a role for all projects in the cluster
6
+openshift cli adm policy add\-cluster\-role\-to\-user \- Add a role to users for all projects in the cluster
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ openshift cli adm policy add\-cluster\-role\-to\-user \- Add users to a role for
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Add users to a role for all projects in the cluster
16
+Add a role to users for all projects in the cluster
17 17
 
18 18
 
19 19
 .SH OPTIONS INHERITED FROM PARENT COMMANDS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-openshift cli adm policy add\-role\-to\-group \- Add groups to a role in the current project
6
+openshift cli adm policy add\-role\-to\-group \- Add a role to groups for the current project
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ openshift cli adm policy add\-role\-to\-group \- Add groups to a role in the cur
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Add groups to a role in the current project
16
+Add a role to groups for the current project
17 17
 
18 18
 
19 19
 .SH OPTIONS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-openshift cli adm policy add\-role\-to\-user \- Add users or serviceaccounts to a role in the current project
6
+openshift cli adm policy add\-role\-to\-user \- Add a role to users or serviceaccounts for the current project
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ openshift cli adm policy add\-role\-to\-user \- Add users or serviceaccounts to
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Add users or serviceaccounts to a role in the current project
16
+Add a role to users or serviceaccounts for the current project
17 17
 
18 18
 
19 19
 .SH OPTIONS
... ...
@@ -97,10 +97,10 @@ Add users or serviceaccounts to a role in the current project
97 97
 .RS
98 98
 
99 99
 .nf
100
-  # Add the 'view' role to user1 in the current project
100
+  # Add the 'view' role to user1 for the current project
101 101
   openshift cli adm policy add\-role\-to\-user view user1
102 102
 
103
-  # Add the 'edit' role to serviceaccount1 in the current project
103
+  # Add the 'edit' role to serviceaccount1 for the current project
104 104
   openshift cli adm policy add\-role\-to\-user edit \-z serviceaccount1
105 105
 
106 106
 .fi
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-openshift cli adm policy remove\-cluster\-role\-from\-group \- Remove group from role for all projects in the cluster
6
+openshift cli adm policy remove\-cluster\-role\-from\-group \- Remove a role from groups for all projects in the cluster
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ openshift cli adm policy remove\-cluster\-role\-from\-group \- Remove group from
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Remove group from role for all projects in the cluster
16
+Remove a role from groups for all projects in the cluster
17 17
 
18 18
 
19 19
 .SH OPTIONS INHERITED FROM PARENT COMMANDS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-openshift cli adm policy remove\-cluster\-role\-from\-user \- Remove user from role for all projects in the cluster
6
+openshift cli adm policy remove\-cluster\-role\-from\-user \- Remove a role from users for all projects in the cluster
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ openshift cli adm policy remove\-cluster\-role\-from\-user \- Remove user from r
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Remove user from role for all projects in the cluster
16
+Remove a role from users for all projects in the cluster
17 17
 
18 18
 
19 19
 .SH OPTIONS INHERITED FROM PARENT COMMANDS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-openshift cli adm policy remove\-role\-from\-group \- Remove group from role in the current project
6
+openshift cli adm policy remove\-role\-from\-group \- Remove a role from groups for the current project
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ openshift cli adm policy remove\-role\-from\-group \- Remove group from role in
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Remove group from role in the current project
16
+Remove a role from groups for the current project
17 17
 
18 18
 
19 19
 .SH OPTIONS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-openshift cli adm policy remove\-role\-from\-user \- Remove user from role in the current project
6
+openshift cli adm policy remove\-role\-from\-user \- Remove a role from users for the current project
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ openshift cli adm policy remove\-role\-from\-user \- Remove user from role in th
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Remove user from role in the current project
16
+Remove a role from users for the current project
17 17
 
18 18
 
19 19
 .SH OPTIONS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-openshift cli policy add\-role\-to\-group \- Add groups to a role in the current project
6
+openshift cli policy add\-role\-to\-group \- Add a role to groups for the current project
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ openshift cli policy add\-role\-to\-group \- Add groups to a role in the current
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Add groups to a role in the current project
16
+Add a role to groups for the current project
17 17
 
18 18
 
19 19
 .SH OPTIONS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-openshift cli policy add\-role\-to\-user \- Add users or serviceaccounts to a role in the current project
6
+openshift cli policy add\-role\-to\-user \- Add a role to users or serviceaccounts for the current project
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ openshift cli policy add\-role\-to\-user \- Add users or serviceaccounts to a ro
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Add users or serviceaccounts to a role in the current project
16
+Add a role to users or serviceaccounts for the current project
17 17
 
18 18
 
19 19
 .SH OPTIONS
... ...
@@ -97,10 +97,10 @@ Add users or serviceaccounts to a role in the current project
97 97
 .RS
98 98
 
99 99
 .nf
100
-  # Add the 'view' role to user1 in the current project
100
+  # Add the 'view' role to user1 for the current project
101 101
   openshift cli policy add\-role\-to\-user view user1
102 102
 
103
-  # Add the 'edit' role to serviceaccount1 in the current project
103
+  # Add the 'edit' role to serviceaccount1 for the current project
104 104
   openshift cli policy add\-role\-to\-user edit \-z serviceaccount1
105 105
 
106 106
 .fi
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-openshift cli policy remove\-role\-from\-group \- Remove group from role in the current project
6
+openshift cli policy remove\-role\-from\-group \- Remove a role from groups for the current project
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ openshift cli policy remove\-role\-from\-group \- Remove group from role in the
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Remove group from role in the current project
16
+Remove a role from groups for the current project
17 17
 
18 18
 
19 19
 .SH OPTIONS
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 .SH NAME
5 5
 .PP
6
-openshift cli policy remove\-role\-from\-user \- Remove user from role in the current project
6
+openshift cli policy remove\-role\-from\-user \- Remove a role from users for the current project
7 7
 
8 8
 
9 9
 .SH SYNOPSIS
... ...
@@ -13,7 +13,7 @@ openshift cli policy remove\-role\-from\-user \- Remove user from role in the cu
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-Remove user from role in the current project
16
+Remove a role from users for the current project
17 17
 
18 18
 
19 19
 .SH OPTIONS
... ...
@@ -29,10 +29,10 @@ const (
29 29
 )
30 30
 
31 31
 const (
32
-	addRoleToUserExample = `  # Add the 'view' role to user1 in the current project
32
+	addRoleToUserExample = `  # Add the 'view' role to user1 for the current project
33 33
   %[1]s view user1
34 34
 
35
-  # Add the 'edit' role to serviceaccount1 in the current project
35
+  # Add the 'edit' role to serviceaccount1 for the current project
36 36
   %[1]s edit -z serviceaccount1`
37 37
 )
38 38
 
... ...
@@ -52,8 +52,8 @@ func NewCmdAddRoleToGroup(name, fullName string, f *clientcmd.Factory, out io.Wr
52 52
 
53 53
 	cmd := &cobra.Command{
54 54
 		Use:   name + " ROLE GROUP [GROUP ...]",
55
-		Short: "Add groups to a role in the current project",
56
-		Long:  `Add groups to a role in the current project`,
55
+		Short: "Add a role to groups for the current project",
56
+		Long:  `Add a role to groups for the current project`,
57 57
 		Run: func(cmd *cobra.Command, args []string) {
58 58
 			if err := options.Complete(f, args, &options.Groups, "group", true); err != nil {
59 59
 				kcmdutil.CheckErr(kcmdutil.UsageError(cmd, err.Error()))
... ...
@@ -77,8 +77,8 @@ func NewCmdAddRoleToUser(name, fullName string, f *clientcmd.Factory, out io.Wri
77 77
 
78 78
 	cmd := &cobra.Command{
79 79
 		Use:     name + " ROLE (USER | -z SERVICEACCOUNT) [USER ...]",
80
-		Short:   "Add users or serviceaccounts to a role in the current project",
81
-		Long:    `Add users or serviceaccounts to a role in the current project`,
80
+		Short:   "Add a role to users or serviceaccounts for the current project",
81
+		Long:    `Add a role to users or serviceaccounts for the current project`,
82 82
 		Example: fmt.Sprintf(addRoleToUserExample, fullName),
83 83
 		Run: func(cmd *cobra.Command, args []string) {
84 84
 			if err := options.CompleteUserWithSA(f, args, saNames); err != nil {
... ...
@@ -103,8 +103,8 @@ func NewCmdRemoveRoleFromGroup(name, fullName string, f *clientcmd.Factory, out
103 103
 
104 104
 	cmd := &cobra.Command{
105 105
 		Use:   name + " ROLE GROUP [GROUP ...]",
106
-		Short: "Remove group from role in the current project",
107
-		Long:  `Remove group from role in the current project`,
106
+		Short: "Remove a role from groups for the current project",
107
+		Long:  `Remove a role from groups for the current project`,
108 108
 		Run: func(cmd *cobra.Command, args []string) {
109 109
 			if err := options.Complete(f, args, &options.Groups, "group", true); err != nil {
110 110
 				kcmdutil.CheckErr(kcmdutil.UsageError(cmd, err.Error()))
... ...
@@ -128,8 +128,8 @@ func NewCmdRemoveRoleFromUser(name, fullName string, f *clientcmd.Factory, out i
128 128
 
129 129
 	cmd := &cobra.Command{
130 130
 		Use:   name + " ROLE USER [USER ...]",
131
-		Short: "Remove user from role in the current project",
132
-		Long:  `Remove user from role in the current project`,
131
+		Short: "Remove a role from users for the current project",
132
+		Long:  `Remove a role from users for the current project`,
133 133
 		Run: func(cmd *cobra.Command, args []string) {
134 134
 			if err := options.CompleteUserWithSA(f, args, saNames); err != nil {
135 135
 				kcmdutil.CheckErr(kcmdutil.UsageError(cmd, err.Error()))
... ...
@@ -153,8 +153,8 @@ func NewCmdAddClusterRoleToGroup(name, fullName string, f *clientcmd.Factory, ou
153 153
 
154 154
 	cmd := &cobra.Command{
155 155
 		Use:   name + " <role> <group> [group]...",
156
-		Short: "Add groups to a role for all projects in the cluster",
157
-		Long:  `Add groups to a role for all projects in the cluster`,
156
+		Short: "Add a role to groups for all projects in the cluster",
157
+		Long:  `Add a role to groups for all projects in the cluster`,
158 158
 		Run: func(cmd *cobra.Command, args []string) {
159 159
 			if err := options.Complete(f, args, &options.Groups, "group", false); err != nil {
160 160
 				kcmdutil.CheckErr(kcmdutil.UsageError(cmd, err.Error()))
... ...
@@ -175,8 +175,8 @@ func NewCmdAddClusterRoleToUser(name, fullName string, f *clientcmd.Factory, out
175 175
 
176 176
 	cmd := &cobra.Command{
177 177
 		Use:   name + " <role> <user> [user]...",
178
-		Short: "Add users to a role for all projects in the cluster",
179
-		Long:  `Add users to a role for all projects in the cluster`,
178
+		Short: "Add a role to users for all projects in the cluster",
179
+		Long:  `Add a role to users for all projects in the cluster`,
180 180
 		Run: func(cmd *cobra.Command, args []string) {
181 181
 			if err := options.Complete(f, args, &options.Users, "user", false); err != nil {
182 182
 				kcmdutil.CheckErr(kcmdutil.UsageError(cmd, err.Error()))
... ...
@@ -197,8 +197,8 @@ func NewCmdRemoveClusterRoleFromGroup(name, fullName string, f *clientcmd.Factor
197 197
 
198 198
 	cmd := &cobra.Command{
199 199
 		Use:   name + " <role> <group> [group]...",
200
-		Short: "Remove group from role for all projects in the cluster",
201
-		Long:  `Remove group from role for all projects in the cluster`,
200
+		Short: "Remove a role from groups for all projects in the cluster",
201
+		Long:  `Remove a role from groups for all projects in the cluster`,
202 202
 		Run: func(cmd *cobra.Command, args []string) {
203 203
 			if err := options.Complete(f, args, &options.Groups, "group", false); err != nil {
204 204
 				kcmdutil.CheckErr(kcmdutil.UsageError(cmd, err.Error()))
... ...
@@ -219,8 +219,8 @@ func NewCmdRemoveClusterRoleFromUser(name, fullName string, f *clientcmd.Factory
219 219
 
220 220
 	cmd := &cobra.Command{
221 221
 		Use:   name + " <role> <user> [user]...",
222
-		Short: "Remove user from role for all projects in the cluster",
223
-		Long:  `Remove user from role for all projects in the cluster`,
222
+		Short: "Remove a role from users for all projects in the cluster",
223
+		Long:  `Remove a role from users for all projects in the cluster`,
224 224
 		Run: func(cmd *cobra.Command, args []string) {
225 225
 			if err := options.Complete(f, args, &options.Users, "user", false); err != nil {
226 226
 				kcmdutil.CheckErr(kcmdutil.UsageError(cmd, err.Error()))