aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_ide_smart.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_ide_smart.c')
-rw-r--r--plugins/check_ide_smart.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_ide_smart.c b/plugins/check_ide_smart.c
index b0b01890..e036a37a 100644
--- a/plugins/check_ide_smart.c
+++ b/plugins/check_ide_smart.c
@@ -158,9 +158,6 @@ main (int argc, char *argv[])
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 @@ main (int argc, char *argv[])
{0, 0, 0, 0}
};
+ /* Parse extra opts if any */
+ argv=np_extra_opts (&argc, argv, progname);
+
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);