void lttv_option_init(int argc, char **argv);
void lttv_option_destroy();
void lttv_option_init(int argc, char **argv);
void lttv_option_destroy();
/* Since everything is done in modules, the main program only takes care
of the infrastructure. */
/* Since everything is done in modules, the main program only takes care
of the infrastructure. */
attributes = LTTV_IATTRIBUTE(g_object_new(LTTV_ATTRIBUTE_TYPE, NULL));
before_options = lttv_hooks_new();
attributes = LTTV_IATTRIBUTE(g_object_new(LTTV_ATTRIBUTE_TYPE, NULL));
before_options = lttv_hooks_new();
"add a directory to the module search path",
"directory to add to the path", LTTV_OPT_STRING, &a_module_path,
lttv_module_path_option, NULL);
"add a directory to the module search path",
"directory to add to the path", LTTV_OPT_STRING, &a_module_path,
lttv_module_path_option, NULL);
+
+ lttv_option_add("help",'h', "basic help", "none",
+ LTTV_OPT_NONE, NULL, lttv_help, NULL);
+
+
lttv_hooks_call(before_options, NULL);
lttv_option_parse(argc, argv);
lttv_hooks_call(after_options, NULL);
lttv_hooks_call(before_options, NULL);
lttv_option_parse(argc, argv);
lttv_hooks_call(after_options, NULL);