summaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/options.c b/src/options.c
index c4eb8d4..d221828 100644
--- a/src/options.c
+++ b/src/options.c
@@ -13,11 +13,10 @@ static void print_usage(const char *progname)
int parse_options(struct argent_options *opts, int argc, char **argv)
{
opts->log_level = 0;
- opts->conf_filename = "argent.lua";
- opts->output_dir = "public";
+ opts->conf_filename = "config.lua";
int opt;
- while ((opt = getopt(argc, argv, "vc:o:")) != -1) {
+ while ((opt = getopt(argc, argv, "vc:")) != -1) {
switch (opt) {
case 'v':
opts->log_level += 1;
@@ -27,10 +26,6 @@ int parse_options(struct argent_options *opts, int argc, char **argv)
opts->conf_filename = optarg;
break;
- case 'o':
- opts->output_dir = optarg;
- break;
-
default:
print_usage(argv[0]);
return 1;