Skip to content

Commit

Permalink
fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
richardlehane committed Feb 17, 2017
1 parent c3b3610 commit 2988da0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmd/sf/sf.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,11 @@ func main() {
// handle -version
if *version {
version := config.Version()
fmt.Printf("siegfried %d.%d.%d\n%s", version[0], version[1], version[2], s)
fmt.Printf("siegfried %d.%d.%d\n", version[0], version[1], version[2])
fmt.Printf("%s (%s)\nidentifiers: \n", config.Signature(), s.C.Format(time.RFC3339))
for _, id := range s.Identifiers() {
fmt.Printf(" - %s: %s\n", id[0], id[1])
}
return
}
// handle -fpr
Expand Down

0 comments on commit 2988da0

Please sign in to comment.