move remaining help text from include/usage.src.h

Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Pere Orga
2011-04-11 03:29:49 +02:00
committed by Denys Vlasenko
parent 73ef15cf38
commit 5bc8c005a8
142 changed files with 2369 additions and 2312 deletions

View File

@@ -6,6 +6,32 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
//usage:#define ifplugd_trivial_usage
//usage: "[OPTIONS]"
//usage:#define ifplugd_full_usage "\n\n"
//usage: "Network interface plug detection daemon\n"
//usage: "\nOptions:"
//usage: "\n -n Don't daemonize"
//usage: "\n -s Don't log to syslog"
//usage: "\n -i IFACE Interface"
//usage: "\n -f/-F Treat link detection error as link down/link up"
//usage: "\n (otherwise exit on error)"
//usage: "\n -a Don't up interface at each link probe"
//usage: "\n -M Monitor creation/destruction of interface"
//usage: "\n (otherwise it must exist)"
//usage: "\n -r PROG Script to run"
//usage: "\n -x ARG Extra argument for script"
//usage: "\n -I Don't exit on nonzero exit code from script"
//usage: "\n -p Don't run script on daemon startup"
//usage: "\n -q Don't run script on daemon quit"
//usage: "\n -l Run script on startup even if no cable is detected"
//usage: "\n -t SECS Poll time in seconds"
//usage: "\n -u SECS Delay before running script after link up"
//usage: "\n -d SECS Delay after link down"
//usage: "\n -m MODE API mode (mii, priv, ethtool, wlan, iff, auto)"
//usage: "\n -k Kill running daemon"
#include "libbb.h"
#include "fix_u32.h"