summaryrefslogtreecommitdiff
path: root/Base/usr/share/man/man1
diff options
context:
space:
mode:
authorhowar6hill <f.eiwu@yahoo.com>2020-02-20 22:12:55 +0800
committerGitHub <noreply@github.com>2020-02-20 15:12:55 +0100
commit83668299a61c39556976d731fcf7d04466157f2a (patch)
tree64a9c6f1d0b340517f956ca8b0c28f6e69954e22 /Base/usr/share/man/man1
parent088d7be19c768fea577d7ad4a6e6088afbabe09b (diff)
downloadserenity-83668299a61c39556976d731fcf7d04466157f2a.zip
host: Use ArgsParser to parse arguments, and add man page (#1252)
Fixes #1246.
Diffstat (limited to 'Base/usr/share/man/man1')
-rw-r--r--Base/usr/share/man/man1/host.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/Base/usr/share/man/man1/host.md b/Base/usr/share/man/man1/host.md
new file mode 100644
index 0000000000..c76d15192e
--- /dev/null
+++ b/Base/usr/share/man/man1/host.md
@@ -0,0 +1,25 @@
+## Name
+
+host - DNS lookup utility
+
+## Synopsis
+
+```**sh
+$ host <name>
+```
+
+## Description
+
+`host` is a simple utility for performing DNS lookups. It is used to
+convert names to IP addresses and vice versa.
+
+`name` is the domain name that is to be looked up. It can also be a
+dotted-decimal IPv4 address, in which case `host` will perform a reverse
+lookup for that address.
+
+## Examples
+
+```sh
+$ host github.com
+$ host 8.8.8.8
+```