diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-10-02 16:49:05 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-10-02 16:49:05 +0200 |
commit | 033e9f8cde5a7feec1334888aec69def99c945b5 (patch) | |
tree | cdffede0d38c9fa8d80b93608d5c6e423547610a /extras/fstab_import | |
parent | 842dacb76f2f98537554683d7cccec4710779a8a (diff) |
use no_argument, required_argument, optional_argument in longopts
Diffstat (limited to 'extras/fstab_import')
-rw-r--r-- | extras/fstab_import/fstab_import.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extras/fstab_import/fstab_import.c b/extras/fstab_import/fstab_import.c index 71ab5d34ee..e793604faa 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; |