commit 92e1ffcc10845a78775e02c8fe4486a616cd137d
parent e2dbda88b6501a4063892d795e700dc2667c5528
Author: Joris Vink <joris@coders.se>
Date: Sat, 15 Apr 2023 10:03:31 +0200
remove -f from the cli, it is default.
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/cli.c b/src/cli.c
@@ -234,7 +234,7 @@ static void cli_file_create(const char *, const char *, size_t);
static struct cmd cmds[] = {
{ "help", "this help text", cli_help },
- { "run", "run an application (-fnr implied)", cli_run },
+ { "run", "run an application (-nr implied)", cli_run },
{ "gen", "generate asset file for compilation", cli_genasset },
{ "reload", "reload the application (SIGHUP)", cli_reload },
{ "info", "show info on kore on this system", cli_info },
@@ -1824,10 +1824,10 @@ cli_run_kore(void)
if (bopt->single_binary) {
cpath = NULL;
- flags = "-fnr";
+ flags = "-nr";
(void)cli_vasprintf(&cmd, "./%s", appl);
} else {
- flags = "-fnrc";
+ flags = "-nrc";
(void)cli_vasprintf(&cmd, "%s/bin/kore", prefix);
(void)cli_vasprintf(&cpath, "conf/%s.conf", appl);
}