X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=ggo.h;h=cc0c96b3d8135163089945a85be9c1d26980df3c;hp=c9111b16503602f7fe4dc387e0d98023bfd7bdc5;hb=6b935f552ebfe3a0a83ec9367deb2f42c1aff252;hpb=a00bb171f7ca390e3eb9edf8f7c83c32cbaf81ab diff --git a/ggo.h b/ggo.h index c9111b16..cc0c96b3 100644 --- a/ggo.h +++ b/ggo.h @@ -1,7 +1,20 @@ +/* + * Copyright (C) 2008-2010 Andre Noll + * + * Licensed under the GPL v2. For licencing details see COPYING. + */ + +/** \file ggo.h Functions and structures for help text handling. */ + +/** + * Used by exexutables that can not use gengetopt's generated help function. + */ struct ggo_help { + /** The lines of the short help text. */ const char **short_help; + /** The lines of the detailed help text. */ const char **detailed_help; }; void ggo_print_help(struct ggo_help *help, int detailed_help); -void printf_or_die(const char *fmt, ...); +__printf_1_2 void printf_or_die(const char *fmt, ...);