From: Sami Kerola Date: Sun, 30 Oct 2011 15:03:19 +0000 (+0100) Subject: tunelp: add long options and align with howto-usage-function.txt X-Git-Tag: v2.21-rc1~194^2~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a21108babf7ab385444fc69d77e0363d16b20529;p=thirdparty%2Futil-linux.git tunelp: add long options and align with howto-usage-function.txt Signed-off-by: Sami Kerola --- diff --git a/sys-utils/tunelp.c b/sys-utils/tunelp.c index 82cbe588a6..f59c6dd485 100644 --- a/sys-utils/tunelp.c +++ b/sys-utils/tunelp.c @@ -51,6 +51,7 @@ #include #include +#include #include #include #include @@ -73,18 +74,32 @@ struct command { struct command *next; }; -static void print_usage(char *progname) +static void __attribute__((__noreturn__)) print_usage(FILE *out) { - printf(_ - ("Usage: %s [ -i | -t