summaryrefslogtreecommitdiff
path: root/c_conf_gen/config/cs_config2.lua
blob: 96468343703dd4045afd2de18a6480b40489cd84 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--config for empty config parsing file

TYPE_INT = 1
TYPE_STR = 2
TYPE_FILE = 3

local M = {}

M.project_name = "INT_STR_FILE"
M.params_list = {}

param1 = {
	type = TYPE_INT,
	name = "number",
	shortopt = "i:"
}
M.params_list[1] = param1

param2 = {
	type = TYPE_STR,
	name = "username",
	shortopt = "s:"
}
M.params_list[2] = param2

param3 = {
	type = TYPE_FILE,
	name = "configfile",
	shortopt = "f:"
}
M.params_list[3] = param3

return M