summaryrefslogtreecommitdiff
path: root/extras/ata_id
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-10-02 16:49:05 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-10-02 16:49:05 +0200
commit033e9f8cde5a7feec1334888aec69def99c945b5 (patch)
treecdffede0d38c9fa8d80b93608d5c6e423547610a /extras/ata_id
parent842dacb76f2f98537554683d7cccec4710779a8a (diff)
use no_argument, required_argument, optional_argument in longopts
Diffstat (limited to 'extras/ata_id')
-rw-r--r--extras/ata_id/ata_id.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/ata_id/ata_id.c b/extras/ata_id/ata_id.c
index 927dbfabd7..a4f73b8dfd 100644
--- a/extras/ata_id/ata_id.c
+++ b/extras/ata_id/ata_id.c
@@ -88,8 +88,8 @@ int main(int argc, char *argv[])
int fd;
int rc = 0;
static const struct option options[] = {
- { "export", 0, NULL, 'x' },
- { "help", 0, NULL, 'h' },
+ { "export", no_argument, NULL, 'x' },
+ { "help", no_argument, NULL, 'h' },
{}
};