diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2002-11-09 09:34:15 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2002-11-09 09:34:15 +0000 |
commit | 021fa7db9139bff3b4bf404dfd7d2b1541ed71f8 (patch) | |
tree | 0ed0d25ba27e8014d49a2dc82c44c0ff9f21edf8 /include/usage.h | |
parent | 7ab93d99802852093b08466f8b085980a3b205bf (diff) | |
download | busybox-w32-021fa7db9139bff3b4bf404dfd7d2b1541ed71f8.tar.gz busybox-w32-021fa7db9139bff3b4bf404dfd7d2b1541ed71f8.tar.bz2 busybox-w32-021fa7db9139bff3b4bf404dfd7d2b1541ed71f8.zip |
debian compatable ifup and ifdown commands
Diffstat (limited to 'include/usage.h')
-rw-r--r-- | include/usage.h | 28 |
1 files changed, 28 insertions, 0 deletions
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 @@ | |||
807 | USAGE_IFCONFIG_MII("\t[mem_start <NN>] [io_addr <NN>] [irq <NN>]\n") \ | 807 | USAGE_IFCONFIG_MII("\t[mem_start <NN>] [io_addr <NN>] [irq <NN>]\n") \ |
808 | "\t[up|down] ..." | 808 | "\t[up|down] ..." |
809 | 809 | ||
810 | #define ifup_trivial_usage \ | ||
811 | "<-ahinv> <ifaces...>" | ||
812 | #define ifup_full_usage \ | ||
813 | "Usage: ifup <options> <ifaces...>\n\n" \ | ||
814 | "Options:\n" \ | ||
815 | "\t-h, --help\t\tthis help\n" \ | ||
816 | "\t-a, --all\t\tde/configure all interfaces automatically\n" \ | ||
817 | "\t-i, --interfaces FILE\tuse FILE for interface definitions\n" \ | ||
818 | "\t-n, --no-act\t\tprint out what would happen, but don't do it\n" \ | ||
819 | "\t\t\t\t(note that this option doesn't disable mappings)\n" \ | ||
820 | "\t-v, --verbose\t\tprint out what would happen before doing it\n" \ | ||
821 | "\t--no-mappings\t\tdon't run any mappings\n" \ | ||
822 | "\t--force\t\t\tforce de/configuration\n" | ||
823 | |||
824 | #define ifdown_trivial_usage \ | ||
825 | "<-ahinv> <ifaces...>" | ||
826 | #define ifdown_full_usage \ | ||
827 | "Usage: ifdown <options> <ifaces...>\n\n" \ | ||
828 | "Options:\n" \ | ||
829 | "\t-h, --help\t\tthis help\n" \ | ||
830 | "\t-a, --all\t\tde/configure all interfaces automatically\n" \ | ||
831 | "\t-i, --interfaces FILE\tuse FILE for interface definitions\n" \ | ||
832 | "\t-n, --no-act\t\tprint out what would happen, but don't do it\n" \ | ||
833 | "\t\t\t\t(note that this option doesn't disable mappings)\n" \ | ||
834 | "\t-v, --verbose\t\tprint out what would happen before doing it\n" \ | ||
835 | "\t--no-mappings\t\tdon't run any mappings\n" \ | ||
836 | "\t--force\t\t\tforce de/configuration\n" | ||
837 | |||
810 | #define init_trivial_usage \ | 838 | #define init_trivial_usage \ |
811 | "" | 839 | "" |
812 | #define init_full_usage \ | 840 | #define init_full_usage \ |