Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
BIND
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
633
Issues
633
List
Boards
Labels
Service Desk
Milestones
Merge Requests
104
Merge Requests
104
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
BIND
Commits
8a98ea9e
Commit
8a98ea9e
authored
Aug 15, 2016
by
Mark Andrews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
4441. [cleanup] Alphabetize host's help output. [RT #43031]
parent
301a03d5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
CHANGES
CHANGES
+2
-0
bin/dig/host.c
bin/dig/host.c
+5
-5
No files found.
CHANGES
View file @
8a98ea9e
4441. [cleanup] Alphabetize host's help output. [RT #43031]
4440. [func] Enable TCP fast open support when available on the
4440. [func] Enable TCP fast open support when available on the
server side. [RT #42866]
server side. [RT #42866]
...
...
bin/dig/host.c
View file @
8a98ea9e
...
@@ -137,14 +137,15 @@ show_usage(void) ISC_PLATFORM_NORETURN_POST;
...
@@ -137,14 +137,15 @@ show_usage(void) ISC_PLATFORM_NORETURN_POST;
static
void
static
void
show_usage
(
void
)
{
show_usage
(
void
)
{
fputs
(
fputs
(
"Usage: host [-aCd
lriTwv
] [-c class] [-N ndots] [-t type] [-W time]
\n
"
"Usage: host [-aCd
ilrTvVw
] [-c class] [-N ndots] [-t type] [-W time]
\n
"
" [-R number] [-m flag] hostname [server]
\n
"
" [-R number] [-m flag] hostname [server]
\n
"
" -a is equivalent to -v -t ANY
\n
"
" -a is equivalent to -v -t ANY
\n
"
" -c specifies query class for non-IN data
\n
"
" -c specifies query class for non-IN data
\n
"
" -C compares SOA records on authoritative nameservers
\n
"
" -C compares SOA records on authoritative nameservers
\n
"
" -d is equivalent to -v
\n
"
" -d is equivalent to -v
\n
"
" -l lists all hosts in a domain, using AXFR
\n
"
" -i IP6.INT reverse lookups
\n
"
" -i IP6.INT reverse lookups
\n
"
" -l lists all hosts in a domain, using AXFR
\n
"
" -m set memory debugging flag (trace|record|usage)
\n
"
" -N changes the number of dots allowed before root lookup is done
\n
"
" -N changes the number of dots allowed before root lookup is done
\n
"
" -r disables recursive processing
\n
"
" -r disables recursive processing
\n
"
" -R specifies number of retries for UDP packets
\n
"
" -R specifies number of retries for UDP packets
\n
"
...
@@ -152,12 +153,11 @@ show_usage(void) {
...
@@ -152,12 +153,11 @@ show_usage(void) {
" -t specifies the query type
\n
"
" -t specifies the query type
\n
"
" -T enables TCP/IP mode
\n
"
" -T enables TCP/IP mode
\n
"
" -v enables verbose output
\n
"
" -v enables verbose output
\n
"
" -V print version number and exit
\n
"
" -w specifies to wait forever for a reply
\n
"
" -w specifies to wait forever for a reply
\n
"
" -W specifies how long to wait for a reply
\n
"
" -W specifies how long to wait for a reply
\n
"
" -4 use IPv4 query transport only
\n
"
" -4 use IPv4 query transport only
\n
"
" -6 use IPv6 query transport only
\n
"
" -6 use IPv6 query transport only
\n
"
,
stderr
);
" -m set memory debugging flag (trace|record|usage)
\n
"
" -V print version number and exit
\n
"
,
stderr
);
exit
(
1
);
exit
(
1
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment