condition: style cleanup

This commit is contained in:
Jan Engelhardt
2008-04-02 04:33:26 +02:00
parent c9579115c3
commit f5f17a27c5
2 changed files with 42 additions and 49 deletions

View File

@@ -15,8 +15,8 @@ static void condition_help(void)
}
static const struct option condition_opts[] = {
{ .name = "condition", .has_arg = 1, .flag = 0, .val = 'X' },
{ .name = 0 }
{.name = "condition", .has_arg = true, .val = 'X'},
{NULL},
};
static int condition_parse(int c, char **argv, int invert, unsigned int *flags,