diff options
| author | Shulhan <ms@kilabit.info> | 2022-05-22 20:04:22 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-05-22 20:04:22 +0700 |
| commit | 0522b55558bdf913b161fa81cb2938eff9a27a01 (patch) | |
| tree | 9c79e0edfc819dd874a97b31fb68deb2ee92f3a2 /cmd/resolver/doc.go | |
| parent | a5f6725a3e35d549bf3a5b4d55820810e87a0549 (diff) | |
| download | rescached-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.go | 1 |
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, |
