]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/opt-help.c
Opt: Cleaned up opt-conf
[libucw.git] / ucw / opt-help.c
index 83b39835b98c4561b38ba15f7e27ad39817dc2a5..5c4b44e850f7d94a4902130122ecc9de178a3220 100644 (file)
@@ -156,3 +156,8 @@ void opt_help(const struct opt_section * sec) {
   mp_delete(h.pool);
 }
 
+void opt_handle_help(struct opt_item * opt UNUSED, const char * value UNUSED, void * data)
+{
+  opt_help(data);
+  exit(0);
+}