chiark / gitweb /
libudev: device - add get_parent_with_subsystem()
[elogind.git] / extras / cdrom_id / cdrom_id.c
index 627ae0dee4f7a4897a93abbb3beb41912e4b42f2..381aa70bedb1a94f64520dc55fc78738c8021994 100644 (file)
@@ -503,9 +503,9 @@ int main(int argc, char *argv[])
 {
        struct udev *udev;
        static const struct option options[] = {
-               { "export", 0, NULL, 'x' },
-               { "debug", 0, NULL, 'd' },
-               { "help", 0, NULL, 'h' },
+               { "export", no_argument, NULL, 'x' },
+               { "debug", no_argument, NULL, 'd' },
+               { "help", no_argument, NULL, 'h' },
                {}
        };
        const char *node = NULL;