From 021fa7db9139bff3b4bf404dfd7d2b1541ed71f8 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Sat, 9 Nov 2002 09:34:15 +0000 Subject: debian compatable ifup and ifdown commands --- include/usage.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'include/usage.h') diff --git a/include/usage.h b/include/usage.h index 1d22806f1..2d20722a9 100644 --- a/include/usage.h +++ b/include/usage.h @@ -807,6 +807,34 @@ USAGE_IFCONFIG_MII("\t[mem_start ] [io_addr ] [irq ]\n") \ "\t[up|down] ..." +#define ifup_trivial_usage \ + "<-ahinv> " +#define ifup_full_usage \ + "Usage: ifup \n\n" \ + "Options:\n" \ + "\t-h, --help\t\tthis help\n" \ + "\t-a, --all\t\tde/configure all interfaces automatically\n" \ + "\t-i, --interfaces FILE\tuse FILE for interface definitions\n" \ + "\t-n, --no-act\t\tprint out what would happen, but don't do it\n" \ + "\t\t\t\t(note that this option doesn't disable mappings)\n" \ + "\t-v, --verbose\t\tprint out what would happen before doing it\n" \ + "\t--no-mappings\t\tdon't run any mappings\n" \ + "\t--force\t\t\tforce de/configuration\n" + +#define ifdown_trivial_usage \ + "<-ahinv> " +#define ifdown_full_usage \ + "Usage: ifdown \n\n" \ + "Options:\n" \ + "\t-h, --help\t\tthis help\n" \ + "\t-a, --all\t\tde/configure all interfaces automatically\n" \ + "\t-i, --interfaces FILE\tuse FILE for interface definitions\n" \ + "\t-n, --no-act\t\tprint out what would happen, but don't do it\n" \ + "\t\t\t\t(note that this option doesn't disable mappings)\n" \ + "\t-v, --verbose\t\tprint out what would happen before doing it\n" \ + "\t--no-mappings\t\tdon't run any mappings\n" \ + "\t--force\t\t\tforce de/configuration\n" + #define init_trivial_usage \ "" #define init_full_usage \ -- cgit v1.2.3