main: Fix workspace path option to work.

Workspace path option did not work because option type was changed
incorrectly.
Now the option type has been changed from list strings to one string
correctly.
This commit is contained in:
Jaehyun Cho 2016-06-13 13:26:38 +09:00
parent 1f0df70689
commit 52695c9a56
1 changed files with 1 additions and 2 deletions

View File

@ -270,8 +270,7 @@ args_dispatch(int argc, char **argv,
"path", ECORE_GETOPT_TYPE_STR),
ECORE_GETOPT_APPEND_METAVAR('d', "dd", "Data path",
"path", ECORE_GETOPT_TYPE_STR),
ECORE_GETOPT_APPEND_METAVAR('w', "wd", "Workspace path",
"path", ECORE_GETOPT_TYPE_STR),
ECORE_GETOPT_STORE_STR('w', "wd", "Workspace path"),
ECORE_GETOPT_VERSION('v', "version"),
ECORE_GETOPT_COPYRIGHT('c', "copyright"),
ECORE_GETOPT_LICENSE('l', "license"),