From: Jérémie Galarneau Date: Mon, 16 Dec 2013 22:15:04 +0000 (-0500) Subject: Add utils_generate_optstring() to libcommon X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=8db0dc005c98126fb0e6ede59a695e399ad31e01;hp=8db0dc005c98126fb0e6ede59a695e399ad31e01 Add utils_generate_optstring() to libcommon This function generates the optstring argument exepected by getopt_long from a NULL-terminated struct option array. Signed-off-by: Jérémie Galarneau Signed-off-by: David Goulet ---