Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/ifconfig Add powersave/powersavesleep into usage.
details: https://anonhg.NetBSD.org/src/rev/d1c6a97289c1
branches: trunk
changeset: 500493:d1c6a97289c1
user: onoe <onoe%NetBSD.org@localhost>
date: Tue Dec 12 20:27:42 2000 +0000
description:
Add powersave/powersavesleep into usage.
Fold usage output (still 14 lines...)
diffstat:
sbin/ifconfig/ifconfig.c | 20 ++++++++------------
1 files changed, 8 insertions(+), 12 deletions(-)
diffs (42 lines):
diff -r 2505a2beef57 -r d1c6a97289c1 sbin/ifconfig/ifconfig.c
--- a/sbin/ifconfig/ifconfig.c Tue Dec 12 20:22:49 2000 +0000
+++ b/sbin/ifconfig/ifconfig.c Tue Dec 12 20:27:42 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ifconfig.c,v 1.92 2000/12/12 04:08:40 thorpej Exp $ */
+/* $NetBSD: ifconfig.c,v 1.93 2000/12/12 20:27:42 onoe Exp $ */
/*-
* Copyright (c) 1997, 1998, 2000 The NetBSD Foundation, Inc.
@@ -80,7 +80,7 @@
#if 0
static char sccsid[] = "@(#)ifconfig.c 8.2 (Berkeley) 2/16/94";
#else
-__RCSID("$NetBSD: ifconfig.c,v 1.92 2000/12/12 04:08:40 thorpej Exp $");
+__RCSID("$NetBSD: ifconfig.c,v 1.93 2000/12/12 20:27:42 onoe Exp $");
#endif
#endif /* not lint */
@@ -2894,17 +2894,13 @@
"interface\n"
"\t[ af [ address [ dest_addr ] ] [ up ] [ down ] "
"[ netmask mask ] ]\n"
- "\t[ metric n ]\n"
- "\t[ mtu n ]\n"
- "\t[ nwid network_id ]\n"
- "\t[ nwkey network_key | -nwkey ]\n"
- "\t[ [ af ] tunnel src_addr dest_addr ]\n"
- "\t[ deletetunnel ]\n"
+ "\t[ metric n ] [ mtu n ]\n"
+ "\t[ nwid network_id ] [ nwkey network_key | -nwkey ]\n"
+ "\t[ powersave | -powersave ] [ powersavesleep duration ]\n"
+ "\t[ [ af ] tunnel src_addr dest_addr ] [ deletetunnel ]\n"
"\t[ arp | -arp ]\n"
- "\t[ media mtype ]\n"
- "\t[ mediaopt mopts ]\n"
- "\t[ -mediaopt mopts ]\n"
- "\t[ instance minst ]\n"
+ "\t[ media type ] [ mediaopt opts ] [ -mediaopt opts ] "
+ "[ instance minst ]\n"
"\t[ vlan n vlanif i ]\n"
"\t[ link0 | -link0 ] [ link1 | -link1 ] [ link2 | -link2 ]\n"
" %s -a [ -A ] [ -m ] [ -d ] [ -u ] [ af ]\n"
Home |
Main Index |
Thread Index |
Old Index