X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=extras%2Ffstab_import%2Ffstab_import.c;h=e793604faa2e2e9019c340d2df157c4df8b384b5;hb=4435308844467c0dab329531def8dbfa451d9781;hp=71ab5d34ee8868e9add0b324a5e41320640c0d5e;hpb=38f27948cdafd8a4b90a6b4f1f54b89891983506;p=elogind.git diff --git a/extras/fstab_import/fstab_import.c b/extras/fstab_import/fstab_import.c index 71ab5d34e..e793604fa 100644 --- a/extras/fstab_import/fstab_import.c +++ b/extras/fstab_import/fstab_import.c @@ -66,9 +66,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' }, {} }; char **devices;