mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 04:30:26 +03:00
Updates for cli and context
cli adds new global options. We'll be able to specify flags that apply to multiple options now. context update fixes parallelWriter function, actually writes a value out now.
This commit is contained in:
+1
-1
@@ -206,7 +206,7 @@ func checkSubcommandHelp(c *Context) bool {
|
||||
}
|
||||
|
||||
func checkCompletions(c *Context) bool {
|
||||
if c.GlobalBool(BashCompletionFlag.Name) && c.App.EnableBashCompletion {
|
||||
if (c.GlobalBool(BashCompletionFlag.Name) || c.Bool(BashCompletionFlag.Name)) && c.App.EnableBashCompletion {
|
||||
ShowCompletions(c)
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user