aboutsummaryrefslogtreecommitdiffstats
path: root/commands/patch/switch.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/patch/switch.go')
-rw-r--r--commands/patch/switch.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/commands/patch/switch.go b/commands/patch/switch.go
index b1193be7..aab2acb6 100644
--- a/commands/patch/switch.go
+++ b/commands/patch/switch.go
@@ -18,6 +18,10 @@ func init() {
register(Switch{})
}
+func (Switch) Context() commands.CommandContext {
+ return commands.GLOBAL
+}
+
func (Switch) Aliases() []string {
return []string{"switch"}
}