Ver código fonte

entry: ENTRY is sequence (not switch) by default

Serj Kalichev 2 anos atrás
pai
commit
f9b9e03c5e
1 arquivos alterados com 1 adições e 1 exclusões
  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;