aboutsummaryrefslogtreecommitdiffstats
path: root/commands/title_edit.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/title_edit.go')
-rw-r--r--commands/title_edit.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/title_edit.go b/commands/title_edit.go
index 6bbd1b0a..e95c77d0 100644
--- a/commands/title_edit.go
+++ b/commands/title_edit.go
@@ -44,7 +44,7 @@ func runTitleEdit(cmd *cobra.Command, args []string) error {
fmt.Println("No change, aborting.")
}
- err = b.SetTitle(titleEditTitle)
+ _, err = b.SetTitle(titleEditTitle)
if err != nil {
return err
}
@@ -54,7 +54,7 @@ func runTitleEdit(cmd *cobra.Command, args []string) error {
var titleEditCmd = &cobra.Command{
Use: "edit [<id>]",
- Short: "Edit a title",
+ Short: "Edit a title.",
PreRunE: loadRepo,
RunE: runTitleEdit,
}