diff --git a/srcs/libs/cmdline/cmd_menu.c b/srcs/libs/cmdline/cmd_menu.c index 6eab2df..759014c 100644 --- a/srcs/libs/cmdline/cmd_menu.c +++ b/srcs/libs/cmdline/cmd_menu.c @@ -482,7 +482,7 @@ int menu_run(int argc, char **argv) { ******************************************************************/ // clang-format off arg_rex_t *cmd1 = arg_rex1(NULL, NULL, "start", NULL, REG_ICASE, NULL); - arg_file_t *cfgfile = arg_file1("c", "config", "", "\tSpecify the current application configuration file path"); + arg_file_t *cfgfile = arg_filen("c", "config", "[file]", 0, 1, "\tSpecify the current application configuration file path"); arg_file_t *cfgdir = arg_file1("d", "directory", "", "\tSpecify the configuration directory path"); arg_str_t *key1 = arg_str0("k", "key", "Key", "\tSpecify the configuration file cryptographic key."); arg_lit_t *helpCmd1 = arg_lit0("h", "help", NULL); @@ -564,7 +564,7 @@ int menu_run(int argc, char **argv) { #ifdef OPENDHCPD_ON arg_rex_t *cmd7 = arg_rex1(NULL, NULL, "dhcpd", NULL, REG_ICASE, NULL); arg_lit_t *operate7 = arg_lit0("m", "mode", "\tService works on verbatim mode."); - arg_file_t *cfgfile7 = arg_file1("c", "config", "", "\tSpecify the current application configuration file path"); + arg_file_t *cfgfile7 = arg_filen("c", "config", "[file]", 0, 1, "\tSpecify the current application configuration file path"); arg_file_t *cfgdir7 = arg_file1("d", "directory", "", "\tSpecify the configuration directory path"); arg_str_t *key7 = arg_str0("k", "key", "Key", "\tSpecify the configuration file cryptographic key."); arg_file_t *inifile = arg_filen("i", "ini", "", 0, 1, "\tSpecify the dhcpd service configuration file path");