Mercurial > hg > th-libs
changeset 140:f81c6dc7bd0f
Cosmetics, comments.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 13 Oct 2014 06:35:53 +0300 |
parents | 4ca0af6dbcf8 |
children | 3d555015ada4 |
files | th_args.h |
diffstat | 1 files changed, 10 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- 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;