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, 4 insertions, 0 deletions
diff --git a/commands/title_edit.go b/commands/title_edit.go
index 9d37dc5c..2d824383 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