summaryrefslogtreecommitdiffstats
path: root/sbin/nos-tun
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-02-10 09:19:34 +0000
committerru <ru@FreeBSD.org>2005-02-10 09:19:34 +0000
commit719be5d34133092608f2cb4b6a8acd6cf2c403c6 (patch)
treed6dac94023a6f3bfab88fb797e8cd641b0e912b2 /sbin/nos-tun
parent7b37822a694ba18e94110b97e574dc91753e1d6c (diff)
downloadFreeBSD-src-719be5d34133092608f2cb4b6a8acd6cf2c403c6.zip
FreeBSD-src-719be5d34133092608f2cb4b6a8acd6cf2c403c6.tar.gz
Sync program's usage() with manpage's SYNOPSIS.
Diffstat (limited to 'sbin/nos-tun')
-rw-r--r--sbin/nos-tun/nos-tun.81
-rw-r--r--sbin/nos-tun/nos-tun.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/sbin/nos-tun/nos-tun.8 b/sbin/nos-tun/nos-tun.8
index f37c428..c5f1989 100644
--- a/sbin/nos-tun/nos-tun.8
+++ b/sbin/nos-tun/nos-tun.8
@@ -24,6 +24,7 @@
.Ar destination
.Fl p
.Ar protocol_number
+.Op Ar source
.Ar target
.Sh DESCRIPTION
The
diff --git a/sbin/nos-tun/nos-tun.c b/sbin/nos-tun/nos-tun.c
index b54ef72..9966840 100644
--- a/sbin/nos-tun/nos-tun.c
+++ b/sbin/nos-tun/nos-tun.c
@@ -389,7 +389,7 @@ static void
usage()
{
fprintf(stderr,
-"usage: nos-tun -t <tun_name> -s <source_addr> -d <dest_addr> -p <protocol_number> [<source_addr>] <target_addr>\n");
+"usage: nos-tun -t tunnel -s source -d destination -p protocol_number [source] target\n");
exit(1);
}
OpenPOWER on IntegriCloud