aboutsummaryrefslogtreecommitdiff
path: root/cmd/resolver/doc.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2022-05-22 20:04:22 +0700
committerShulhan <ms@kilabit.info>2022-05-22 20:04:22 +0700
commit0522b55558bdf913b161fa81cb2938eff9a27a01 (patch)
tree9c79e0edfc819dd874a97b31fb68deb2ee92f3a2 /cmd/resolver/doc.go
parenta5f6725a3e35d549bf3a5b4d55820810e87a0549 (diff)
downloadrescached-0522b55558bdf913b161fa81cb2938eff9a27a01.tar.xz
cmd/resolver: add command to print the program version
Executing "resolver version" will print the current version based on the latest tag, number of commit, and latest commit hash: v<TAG>.r<number-of-commit>.<commit-hash>
Diffstat (limited to 'cmd/resolver/doc.go')
-rw-r--r--cmd/resolver/doc.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/resolver/doc.go b/cmd/resolver/doc.go
index f7ce7fa..d24b331 100644
--- a/cmd/resolver/doc.go
+++ b/cmd/resolver/doc.go
@@ -59,6 +59,7 @@ Default to https://127.0.0.1:5380 if its empty.
General commands,
help # Print this message.
+ version # Print the program version.
Query the DNS server,