ndp: Sync usage and SYNPOSIS with reality

This commit is contained in:
roy 2020-06-12 21:08:02 +00:00
parent a00a9756c0
commit 73dd2b525a
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: ndp.8,v 1.30 2020/06/12 11:04:46 roy Exp $
.\" $NetBSD: ndp.8,v 1.31 2020/06/12 21:08:02 roy Exp $
.\" $KAME: ndp.8,v 1.33 2005/10/19 14:57:42 suz Exp $
.\"
.\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@ -42,7 +42,7 @@
.Ar hostname
.Nm ndp
.Op Fl nt
.Fl a | Fl c | Fl p
.Fl a | Fl c
.Nm ndp
.Op Fl nt
.Fl A Ar wait

View File

@ -1,4 +1,4 @@
/* $NetBSD: ndp.c,v 1.56 2020/06/12 11:04:46 roy Exp $ */
/* $NetBSD: ndp.c,v 1.57 2020/06/12 21:08:02 roy Exp $ */
/* $KAME: ndp.c,v 1.121 2005/07/13 11:30:13 keiichi Exp $ */
/*
@ -695,7 +695,7 @@ usage(void)
(void)fprintf(stderr, "Usage: %s [-nt] hostname\n", pn);
(void)fprintf(stderr,
" %s [-nt] -a | -c | -p | -r | -H | -P | -R\n", pn);
" %s [-nt] -a | -c\n", pn);
(void)fprintf(stderr, " %s [-nt] -A wait\n", pn);
(void)fprintf(stderr, " %s [-nt] -d hostname\n", pn);
(void)fprintf(stderr, " %s [-nt] -f filename\n", pn);