Explorar o código

entry: ENTRY is sequence (not switch) by default

Serj Kalichev %!s(int64=2) %!d(string=hai) anos
pai
achega
f9b9e03c5e
Modificáronse 1 ficheiros con 1 adicións e 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;