cloudflare / logshare

logshare is a library & CLI client for retrieving logs from Cloudflare's Enterprise Log Share service.
https://support.cloudflare.com/hc/en-us/articles/216672448
BSD 3-Clause "New" or "Revised" License
80 stars 24 forks source link

--version and -v flags don't actually print the version number #1

Closed rraub closed 7 years ago

rraub commented 7 years ago

I just cloned this tool and upon testing it out, I noticed the version flags don't work. They just print the string logshare-cli version instead of a version number.

$ logshare-cli -v
logshare-cli version 
$ logshare-cli --version
logshare-cli version 
elithrar commented 7 years ago

Thanks - was missing an ldflags arg in my Travis config. Now fixed in https://github.com/cloudflare/logshare/releases/tag/v1.1