From 6e38d52120f5bdc17dd7c81a91ea221fcdedeedd Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 8 May 2008 10:40:34 +0000 Subject: [PATCH] - correct usage helptext of ifupdown --- include/usage.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/include/usage.h b/include/usage.h index e791ba6bf..0e5640778 100644 --- a/include/usage.h +++ b/include/usage.h @@ -1663,27 +1663,31 @@ " # ifenslave -c bond0 eth0\n" \ #define ifup_trivial_usage \ - "[-ahinv] ifaces..." + "[-ain"USE_FEATURE_IFUPDOWN_MAPPING("m")"vf] ifaces..." #define ifup_full_usage "\n\n" \ "Options:" \ "\n -a De/configure all interfaces automatically" \ "\n -i FILE Use FILE for interface definitions" \ "\n -n Print out what would happen, but don't do it" \ + USE_FEATURE_IFUPDOWN_MAPPING( \ "\n (note: doesn't disable mappings)" \ - "\n -v Print out what would happen before doing it" \ "\n -m Don't run any mappings" \ + ) \ + "\n -v Print out what would happen before doing it" \ "\n -f Force de/configuration" \ #define ifdown_trivial_usage \ - "[-ahinv] ifaces..." + "[-ain"USE_FEATURE_IFUPDOWN_MAPPING("m")"vf] ifaces..." #define ifdown_full_usage "\n\n" \ "Options:" \ "\n -a De/configure all interfaces automatically" \ "\n -i FILE Use FILE for interface definitions" \ "\n -n Print out what would happen, but don't do it" \ + USE_FEATURE_IFUPDOWN_MAPPING( \ "\n (note: doesn't disable mappings)" \ - "\n -v Print out what would happen before doing it" \ "\n -m Don't run any mappings" \ + ) \ + "\n -v Print out what would happen before doing it" \ "\n -f Force de/configuration" \ #define inetd_trivial_usage \ -- 2.25.1