summaryrefslogtreecommitdiffstats
path: root/cgconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgconfig.c')
-rw-r--r--cgconfig.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cgconfig.c b/cgconfig.c
index 6b59001..16ff63b 100644
--- a/cgconfig.c
+++ b/cgconfig.c
@@ -48,11 +48,13 @@ int main(int argc, char *argv[])
printf("return code = %d\n", ret);
exit(3);
}
- break;
+ return 0;
default:
fprintf(stderr, "Invalid command line option\n");
break;
}
}
+ fprintf(stderr, "usage is %s <option> <config file>\n",
+ argv[0]);
return 0;
}