diff options
author | ru <ru@FreeBSD.org> | 2005-02-10 09:19:34 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-02-10 09:19:34 +0000 |
commit | 719be5d34133092608f2cb4b6a8acd6cf2c403c6 (patch) | |
tree | d6dac94023a6f3bfab88fb797e8cd641b0e912b2 /sbin/nos-tun | |
parent | 7b37822a694ba18e94110b97e574dc91753e1d6c (diff) | |
download | FreeBSD-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.8 | 1 | ||||
-rw-r--r-- | sbin/nos-tun/nos-tun.c | 2 |
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); } |