Permalink
Browse files

allow optional optarg with -c

  • Loading branch information...
1 parent 57a118b commit d67ed39678816525504da9e77cc11ac5d7574969 @falconindy committed Jul 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 cower.c
View
@@ -1370,7 +1370,7 @@ int parse_options(int argc, char *argv[]) /* {{{ */
{0, 0, 0, 0}
};
- while((opt = getopt_long(argc, argv, "bcdfhimoqst:uvV", opts, &option_index)) != -1) {
+ while((opt = getopt_long(argc, argv, "bc::dfhimoqst:uvV", opts, &option_index)) != -1) {
char *token;
switch(opt) {

0 comments on commit d67ed39

Please sign in to comment.