X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=dhcp-dhclient-usage.patch;fp=dhcp-dhclient-usage.patch;h=0000000000000000000000000000000000000000;hb=96d6b60313df05062116d0ce282f58bc93127e18;hp=fd4c244d7dc1cc04ee10caaaaae3d2872e36f425;hpb=990742a8585e83a531f8a98201f09777a34f231e;p=packages%2Fdhcp.git diff --git a/dhcp-dhclient-usage.patch b/dhcp-dhclient-usage.patch deleted file mode 100644 index fd4c244..0000000 --- a/dhcp-dhclient-usage.patch +++ /dev/null @@ -1,43 +0,0 @@ -diff -up dhcp-4.0.0/client/dhclient.c.usage dhcp-4.0.0/client/dhclient.c ---- dhcp-4.0.0/client/dhclient.c.usage 2008-02-13 16:20:30.000000000 -1000 -+++ dhcp-4.0.0/client/dhclient.c 2008-02-13 16:21:05.000000000 -1000 -@@ -882,21 +882,30 @@ main(int argc, char **argv) { - - static void usage () - { -- log_info ("%s %s", message, PACKAGE_VERSION); -- log_info (copyright); -- log_info (arr); -- log_info (url); -+ printf ("%s %s\n", message, PACKAGE_VERSION); -+ printf (copyright); -+ printf ("\n"); -+ printf (arr); -+ printf ("\n"); -+ printf (url); -+ printf ("\n"); - -- log_error ("Usage: dhclient %s %s", -+ printf ("Usage: dhclient %s %s", - #ifdef DHCPv6 - "[-4|-6] [-1dvrx] [-nw] [-p ]", - #else /* DHCPv6 */ - "[-1dvrx] [-nw] [-p ]", - #endif /* DHCPv6 */ -- "[-s server]"); -- log_error (" [-cf config-file] [-lf lease-file]%s", -- "[-pf pid-file] [-e VAR=val]"); -- log_fatal (" [-sf script-file] [interface]"); -+ "[-s server]\n"); -+ printf (" [-cf config-file] [-lf lease-file]%s", -+ "[-pf pid-file] [-e VAR=val]\n"); -+ printf (" [ -I ] [-B]\n"); -+ printf (" [ -H | -F ] [ -T ]\n"); -+ printf (" [ -V ]\n"); -+ printf (" [ -R ]\n"); -+ printf (" [-sf script-file] [interface]\n"); -+ -+ exit (EXIT_FAILURE); - } - - isc_result_t find_class (struct class **c,