diff --git a/anydb.pod b/anydb.pod index 836585e..ed65d98 100644 --- a/anydb.pod +++ b/anydb.pod @@ -452,6 +452,14 @@ The following template variables can be used: =item B<.Value> - string +To be able to use the value in a template, you'll need to add the +C<-s> flag so that values are included in output data +stream. Otherwise you can only use `.Preview`. + +=item B<.Preview> string + +First line of entry value (if it is a string). + =item B<.Bin> - []byte =item B<.Created> - timestamp.Time diff --git a/cfg/config.go b/cfg/config.go index f860ffe..bbfa6df 100644 --- a/cfg/config.go +++ b/cfg/config.go @@ -30,7 +30,7 @@ import ( "github.com/tlinden/yadu" ) -var Version string = "v0.3.0" +var Version string = "v0.3.1" type BucketConfig struct { Encrypt bool