diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2017-06-02 17:57:28 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2017-06-02 17:59:12 +0900 |
commit | 83e9af6601f2a7b7fc0fff06fc6767b7054a5467 (patch) | |
tree | ac014e169ae994f3ff433f6b2476d0f352f153e8 /main.go | |
parent | 8bbf9335e13f4d56fd7008757d4a9ead34e6381c (diff) |
Add git revision to --version output
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2,6 +2,8 @@ package main import "github.com/junegunn/fzf/src" +var revision string + func main() { - fzf.Run(fzf.ParseOptions()) + fzf.Run(fzf.ParseOptions(), revision) } |