aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaria Carolin Chabowski <laria@laria.me>2018-05-25 21:39:29 +0200
committerLaria Carolin Chabowski <laria@laria.me>2018-05-25 21:39:29 +0200
commit25069f4bbd944c12e57e8ada23fb59d407878846 (patch)
tree8dd24fb6fac8577c6ccabe8dc64656d91a6eb8a5
parent62eef384330f652edd17732240ae0d82685c0914 (diff)
downloadpetrific-master.tar.gz
petrific-master.tar.bz2
petrific-master.zip
Fix "try again" error msg in take-snapshot commandHEADmaster
-rw-r--r--snapshot.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/snapshot.go b/snapshot.go
index 0b11967..f3f26d9 100644
--- a/snapshot.go
+++ b/snapshot.go
@@ -123,7 +123,7 @@ func TakeSnapshot(env *Env, args []string) int {
snapshot_id, err := createSnapshot(env, args[0], *comment, tree_id, *nosign)
if err != nil {
errout(err)
- env.Log.Error().Printf("You can try again by running `%s create-snapshot -c '%s' '%s' '%s'\n`", os.Args[0], *comment, args[0], tree_id)
+ env.Log.Error().Printf("You can try again by running `%s create-snapshot -comment '%s' '%s' '%s'\n`", os.Args[0], *comment, args[0], tree_id)
return 1
}