fix: show remotes
and replications
flags in auth create
(#374)
This commit is contained in:
@ -48,9 +48,7 @@ func helpText(perm string) struct{ readHelp, writeHelp string } {
|
|||||||
|
|
||||||
func hidden(perm string) bool {
|
func hidden(perm string) bool {
|
||||||
var hiddenTypes = map[string]struct{}{
|
var hiddenTypes = map[string]struct{}{
|
||||||
"functions": {},
|
"functions": {},
|
||||||
"remotes": {},
|
|
||||||
"replications": {},
|
|
||||||
}
|
}
|
||||||
_, ok := hiddenTypes[perm]
|
_, ok := hiddenTypes[perm]
|
||||||
return ok
|
return ok
|
||||||
|
Reference in New Issue
Block a user