diff options
| author | Christine Dodrill <me@christine.website> | 2018-09-30 13:31:27 -0700 |
|---|---|---|
| committer | Christine Dodrill <me@christine.website> | 2018-09-30 13:31:27 -0700 |
| commit | b1af575815bdcc05329f3aa92bcaa46b6fb0ada6 (patch) | |
| tree | a8f35266af6a81161cf3f05e2b3fd914b301ab3a /tools | |
| parent | 9aff773cf65fef8ae2ca1bd0466c6d54819b0d69 (diff) | |
| download | x-b1af575815bdcc05329f3aa92bcaa46b6fb0ada6.tar.xz x-b1af575815bdcc05329f3aa92bcaa46b6fb0ada6.zip | |
internal: add license flag
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/license/main.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/license/main.go b/tools/license/main.go index 9fc9cbd..6840912 100644 --- a/tools/license/main.go +++ b/tools/license/main.go @@ -10,6 +10,7 @@ import ( "text/template" "time" + "github.com/Xe/x/internal" "github.com/Xe/x/tools/license/licenses" ) @@ -35,6 +36,8 @@ func init() { func main() { flag.Parse() + internal.HandleLicense() + if *showAll { fmt.Println("Licenses available:") for license, _ := range licenses.List { |
