commit | 097b96ea44d5a09ac1f3553f1789ef6e932a9eba | [log] [download] |
---|---|---|
author | Nicholas Marriott <nicholas.marriott@gmail.com> | Tue Jul 14 06:43:33 2009 +0000 |
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | Tue Jul 14 06:43:33 2009 +0000 |
tree | 73b9da430bb07a47de4a95690427bc14768eb61a | |
parent | 5ccd0025a0867c9f5d9f173537c8336c7492bc8e [diff] |
Having fixed flags for single-character getopt options is a bit hard to maintain and is only going to get worse as more are used. So instead, add a new uint64_t member to cmd_entry which is a bitmask of upper and lowercase options accepted by the command. This means new single character options can be used without the need to add it explicitly to the list.