Clarify SetContext documentation (#1748)
This commit is contained in:
		@ -236,8 +236,8 @@ func (c *Command) Context() context.Context {
 | 
				
			|||||||
	return c.ctx
 | 
						return c.ctx
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// SetContext sets context for the command. It is set to context.Background by default and will be overwritten by
 | 
					// SetContext sets context for the command. This context will be overwritten by
 | 
				
			||||||
// Command.ExecuteContext or Command.ExecuteContextC
 | 
					// Command.ExecuteContext or Command.ExecuteContextC.
 | 
				
			||||||
func (c *Command) SetContext(ctx context.Context) {
 | 
					func (c *Command) SetContext(ctx context.Context) {
 | 
				
			||||||
	c.ctx = ctx
 | 
						c.ctx = ctx
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user