Explorar el Código

entry: ENTRY is sequence (not switch) by default

Serj Kalichev hace 2 años
padre
commit
f9b9e03c5e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      klish/kscheme/kentry.c

+ 1 - 1
klish/kscheme/kentry.c

@@ -111,7 +111,7 @@ kentry_t *kentry_new(const char *name)
 	entry->help = NULL;
 	entry->parent = NULL;
 	entry->container = BOOL_FALSE;
-	entry->mode = KENTRY_MODE_SWITCH;
+	entry->mode = KENTRY_MODE_SEQUENCE;
 	entry->min = 1;
 	entry->max = 1;
 	entry->ptype_str = NULL;