aboutsummaryrefslogtreecommitdiffstats
path: root/commands/title.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/title.go')
-rw-r--r--commands/title.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/commands/title.go b/commands/title.go
index f930ffb1..5d723755 100644
--- a/commands/title.go
+++ b/commands/title.go
@@ -28,9 +28,10 @@ func runTitle(cmd *cobra.Command, args []string) error {
}
var titleCmd = &cobra.Command{
- Use: "title [<id>]",
- Short: "Display or change a title",
- RunE: runTitle,
+ Use: "title [<id>]",
+ Short: "Display or change a title",
+ PreRunE: loadRepo,
+ RunE: runTitle,
}
func init() {