1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:17:45 +00:00

host: Use ArgsParser to parse arguments, and add man page (#1252)

Fixes #1246.
This commit is contained in:
howar6hill 2020-02-20 22:12:55 +08:00 committed by GitHub
parent 088d7be19c
commit 83668299a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 10 deletions

View file

@ -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
```