@@ -18,11 +18,11 @@ export default class PermsCommand extends SolidCommand {
18
18
. argument ( '<operation>' , 'list, edit, delete' )
19
19
. argument ( '<url>' , 'Resource URL' )
20
20
. argument ( '[permissions...]' , `Permission operations to edit resource permissions.
21
- Formatted according to <id> =[d][g][a][c][r][w].
22
- For public permissions please set <id> to "p".
23
- For the current authenticated user please set <id> to "u".
24
- To set updated permissions as default, please add the [d] option as follows: <id> =d[g][a][c][r][w]
25
- To indicate the id as a group id, please add the [g] option as follows: <id> =g[d][a][c][r][w]
21
+ Formatted according to id =[d][g][a][c][r][w].
22
+ For public permissions please set id to "p".
23
+ For the current authenticated user please set id to "u".
24
+ To set updated permissions as default, please add the [d] option as follows: id =d[g][a][c][r][w]
25
+ To indicate the id as a group id, please add the [g] option as follows: id =g[d][a][c][r][w]
26
26
` )
27
27
. option ( '-p, --pretty' , 'Pretty format' )
28
28
. option ( '-v, --verbose' , 'Log all operations' ) // Should this be default?
@@ -34,11 +34,11 @@ export default class PermsCommand extends SolidCommand {
34
34
. argument ( '<operation>' , 'list, edit, delete' )
35
35
. argument ( '<url>' , 'Resource URL' )
36
36
. argument ( '[permissions...]' , `Permission operations to edit resource permissions.
37
- Formatted according to <id> =[d][g][a][c][r][w].
38
- For public permissions please set <id> to "p".
39
- For the current authenticated user please set <id> to "u".
40
- To set updated permissions as default, please add the [d] option as follows: <id> =d[g][a][c][r][w]
41
- To indicate the id as a group id, please add the [g] option as follows: <id> =g[d][a][c][r][w]
37
+ Formatted according to id =[d][g][a][c][r][w].
38
+ For public permissions please set id to "p".
39
+ For the current authenticated user please set id to "u".
40
+ To set updated permissions as default, please add the [d] option as follows: id =d[g][a][c][r][w]
41
+ To indicate the id as a group id, please add the [g] option as follows: id =g[d][a][c][r][w]
42
42
` )
43
43
. option ( '-p, --pretty' , 'Pretty format' )
44
44
. option ( '-v, --verbose' , 'Log all operations' ) // Should this be default?
@@ -62,7 +62,7 @@ export default class PermsCommand extends SolidCommand {
62
62
let parsedPermissions = permissions . map ( permission => {
63
63
const splitPerm = permission . split ( '=' )
64
64
if ( ! ( splitPerm . length === 2 ) ) {
65
- writeErrorString ( 'Incorrect permission format.' , 'Please format your permissions as <id> =[d][a][c][r][w].' , options )
65
+ writeErrorString ( 'Incorrect permission format.' , 'Please format your permissions as id =[d][a][c][r][w].' , options )
66
66
process . exit ( 0 )
67
67
}
68
68
let id = splitPerm [ 0 ]
0 commit comments