diff --git a/commands/title_edit.go b/commands/title_edit.go index 9d37dc5ccb38ce1f366c16392ab3e7f52ade520b..2d824383ce402896a0e5c3acfa7f7b4ea18eaba9 100644 --- a/commands/title_edit.go +++ b/commands/title_edit.go @@ -38,6 +38,10 @@ func runTitleEdit(cmd *cobra.Command, args []string) error { } } + if titleEditTitle == snap.Title { + fmt.Println("No change, aborting.") + } + err = b.SetTitle(titleEditTitle) if err != nil { return err