mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:07:35 +00:00
host: Use ArgsParser to parse arguments, and add man page (#1252)
Fixes #1246.
This commit is contained in:
parent
088d7be19c
commit
83668299a6
2 changed files with 36 additions and 10 deletions
25
Base/usr/share/man/man1/host.md
Normal file
25
Base/usr/share/man/man1/host.md
Normal 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
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue