From fb4e45f0acde204372ebe24ae62e5a13c2458ace Mon Sep 17 00:00:00 2001 From: guumaster Date: Thu, 9 Apr 2020 11:24:35 +0200 Subject: [PATCH] fix license link. add comment to Execute function --- README.md | 2 +- cmd/root.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cfa2892..4fa3f5d 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ This project follows the [all-contributors](https://github.com/all-contributors/ [report-link]: https://goreportcard.com/report/github.com/guumaster/hostctl [license-badge]: https://img.shields.io/github/license/guumaster/hostctl -[license-link]: https://github.com/guumaster/hostctl/LICENSE +[license-link]: https://github.com/guumaster/hostctl/blob/master/LICENSE [all-contributors-badge]: https://img.shields.io/badge/contributors-7-blue.svg diff --git a/cmd/root.go b/cmd/root.go index d751157..2662733 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -38,6 +38,7 @@ you need each time with a simple interface. }, } +// Execute is the main entrypoint for CLI usage func Execute() { if err := rootCmd.Execute(); err != nil { os.Exit(1)