aboutsummaryrefslogtreecommitdiff
path: root/_www/doc/resolver.adoc
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 /_www/doc/resolver.adoc
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 '_www/doc/resolver.adoc')
-rw-r--r--_www/doc/resolver.adoc4
1 files changed, 4 insertions, 0 deletions
diff --git a/_www/doc/resolver.adoc b/_www/doc/resolver.adoc
index a68832b..0f1a12c 100644
--- a/_www/doc/resolver.adoc
+++ b/_www/doc/resolver.adoc
@@ -77,6 +77,10 @@ Default to https://127.0.0.1:5380 if its empty.
+
Print the general usage.
+`version`::
++
+Print the program version.
+
=== QUERY
`query <domain / ip-address> [type] [class]`::