summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-07-21 14:48:19 +0200
committerxengineering <me@xengineering.eu>2024-07-21 14:48:19 +0200
commit1259c086a52f12a0a40650f2389d3401d9274144 (patch)
tree724bc5b1b6e2f78d653a1ec197081825a0c6934a
parent8c95d2ea4b793d1f1eb4ffa85fa621318b00e8e3 (diff)
downloadcraft-1259c086a52f12a0a40650f2389d3401d9274144.tar
craft-1259c086a52f12a0a40650f2389d3401d9274144.tar.zst
craft-1259c086a52f12a0a40650f2389d3401d9274144.zip
Add missing docs for -repo and -commit
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 84d1032..301fca2 100644
--- a/main.go
+++ b/main.go
@@ -16,8 +16,8 @@ var (
)
func init() {
- flag.StringVar(&repo, "repo", "", "")
- flag.StringVar(&commit, "commit", "", "")
+ flag.StringVar(&repo, "repo", "", "Source code as valid Git URL")
+ flag.StringVar(&commit, "commit", "", "Commit or commit-ish reference for checkout")
}
func main() {