remove -f from the cli, it is default.

This commit is contained in:
Joris Vink 2023-04-15 10:03:31 +02:00
parent e2dbda88b6
commit 92e1ffcc10
1 changed files with 3 additions and 3 deletions

View File

@ -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);
}