# HG changeset patch # User Matti Hamalainen # Date 1413171353 -10800 # Node ID f81c6dc7bd0f60b38a1579a2aaafeabc1a33ceb7 # Parent 4ca0af6dbcf825cedb6c5906c593ec68c12e202c Cosmetics, comments. diff -r 4ca0af6dbcf8 -r f81c6dc7bd0f th_args.h --- a/th_args.h Fri Sep 26 01:52:14 2014 +0300 +++ b/th_args.h Mon Oct 13 06:35:53 2014 +0300 @@ -17,16 +17,19 @@ /* Option flags */ -#define OPT_NONE (0) // Simple option with no arguments -#define OPT_ARGREQ (1) // Option requires an argument -#define OPT_ARGMASK (3) // Mask for option argument flags +#define OPT_NONE (0) // Simple option with no arguments +#define OPT_ARGREQ (1) // Option requires an argument +#define OPT_ARGMASK (3) // Mask for option argument flags -#define OPTH_BAILOUT 0x0001 // Bail out on errors -#define OPTH_ONLY_OPTS 0x0010 // Handle only options -#define OPTH_ONLY_OTHER 0x0020 // Handle only "non-options" -#define OPTH_ONLY_MASK 0x00f0 // Mask +#define OPTH_BAILOUT 0x0001 // Bail out on errors + +#define OPTH_ONLY_OPTS 0x0010 // Handle only options +#define OPTH_ONLY_OTHER 0x0020 // Handle only "non-options" +#define OPTH_ONLY_MASK 0x00f0 // Mask +/* Option argument structure + */ typedef struct { int id;