summaryrefslogtreecommitdiff
path: root/lib/tests/getopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tests/getopt.c')
-rw-r--r--lib/tests/getopt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tests/getopt.c b/lib/tests/getopt.c
index 8737d814..6c59ed4e 100644
--- a/lib/tests/getopt.c
+++ b/lib/tests/getopt.c
@@ -21,7 +21,7 @@ static const PLLongOpt optArray[] = {
};
int
-main(int argc, char **argv)
+main(int argc, char **argv)
{
PLOptState *opt;
PLOptStatus ostat;
@@ -29,7 +29,7 @@ main(int argc, char **argv)
opt = PL_CreateLongOptState(argc, argv, "a:b:c", optArray);
while (PL_OPT_OK == (ostat = PL_GetNextOpt(opt))) {
- if (opt->option == 0 && opt->longOptIndex < 0)
+ if (opt->option == 0 && opt->longOptIndex < 0)
printf("Positional parameter: \"%s\"\n", opt->value);
else
printf("%s option: %x (\'%c\', index %d), argument: \"%s\"\n",