I spotted a couple more mistakes in the help. The first two patches fix them. The last patch generates the getopt_long(3) optstring and options, and the help from one data-structure in a bid to keep them all in sync. Jeremy Sowden (4): main: include '-d' in help. main: include '--reversedns' in help. main: interpolate default include path into help format-string. main: use one data-structure to initialize getopt_long(3) arguments and help. src/main.c | 251 +++++++++++++++++++++++++++++------------------------ 1 file changed, 138 insertions(+), 113 deletions(-) -- 2.25.1