comparison lwlib/lw_cmdline.h @ 5:0e01d1343c02

Added basic --help routine to lw_cmdline
author lost@l-w.ca
date Fri, 21 Jan 2011 23:19:19 -0700
parents a4812d57ed13
children 8ae2670377ca
comparison
equal deleted inserted replaced
4:a4812d57ed13 5:0e01d1343c02
42 }; 42 };
43 43
44 enum 44 enum
45 { 45 {
46 lw_cmdline_opt_optional = 1, 46 lw_cmdline_opt_optional = 1,
47 lw_cmdline_opt_hidden = 2, 47 /* lw_cmdline_opt_hidden = 2,*/
48 lw_cmdline_opt_alias = 4, 48 /* lw_cmdline_opt_alias = 4,*/
49 lw_cmdline_opt_doc = 8, 49 /* lw_cmdline_opt_nousage = 0x10,*/
50 lw_cmdline_opt_nousage = 0x10 50 lw_cmdline_opt_doc = 0x80
51 }; 51 };
52 52
53 enum 53 enum
54 { 54 {
55 lw_cmdline_err_unknown = -1 55 lw_cmdline_err_unknown = -1