X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=extras%2Ffstab_import%2Ffstab_import.c;h=e793604faa2e2e9019c340d2df157c4df8b384b5;hp=71ab5d34ee8868e9add0b324a5e41320640c0d5e;hb=c3f0b654fc18b5f98bc65074e2118177e0f37ae9;hpb=38f27948cdafd8a4b90a6b4f1f54b89891983506 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;