summaryrefslogtreecommitdiff
path: root/sixkcd.go
diff options
context:
space:
mode:
Diffstat (limited to 'sixkcd.go')
-rw-r--r--sixkcd.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/sixkcd.go b/sixkcd.go
index b9c13d7..9fdfdc9 100644
--- a/sixkcd.go
+++ b/sixkcd.go
@@ -22,6 +22,8 @@ const (
target = "info.0.json"
)
+var version string
+
type Comic struct {
Month string
Num int
@@ -40,6 +42,7 @@ func main() {
app := &cli.App{
Name: "siXKCD",
Usage: "Sixel viewer/fetcher for XKCD Comics",
+ Version: version,
Authors: []*cli.Author{
{
Name: "Benjamin Chausse",