summaryrefslogtreecommitdiffstats
path: root/web/attachments/368326-check_ide_smart.c.patch
blob: f35721670c50eff14dc97488f3720eb32e4ad685 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- plugins/check_ide_smart.c	Mon Dec  1 00:23:18 2008
+++ plugins/check_ide_smart.c.new	Fri Mar 26 17:38:17 2010
@@ -158,9 +158,6 @@
 	values_t values;
 	int fd;
 
-	/* Parse extra opts if any */
-	argv=np_extra_opts (&argc, argv, progname);
-
 	static struct option longopts[] = { 
 		{"device", required_argument, 0, 'd'}, 
 		{"immediate", no_argument, 0, 'i'}, 
@@ -173,6 +170,9 @@
 		{0, 0, 0, 0}
 	};
 
+	/* Parse extra opts if any */
+	argv=np_extra_opts (&argc, argv, progname);
+
 	setlocale (LC_ALL, "");
 	bindtextdomain (PACKAGE, LOCALEDIR);
 	textdomain (PACKAGE);