Skip to content

add cmd options supporting#100

Merged
wooparadog merged 1 commit intoeleme:masterfrom
jasonjoo2010:cmd
Nov 16, 2016
Merged

add cmd options supporting#100
wooparadog merged 1 commit intoeleme:masterfrom
jasonjoo2010:cmd

Conversation

@jasonjoo2010
Copy link
Copy Markdown
Contributor

att

Copy link
Copy Markdown
Contributor

@doyoubi doyoubi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix the little typo, others LGTM

src/corvus.c Outdated
int ch;
opterr = optind = 0;
do {
ch = getopt_long(argc, (char * const *)argv, ":n:t:c:b:l:r:R:s:B:C:S:A:m:L:P:g:G:E:", opts, NULL);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you don't need 'r' and 'R' here. They are not used.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what the hell a good shooting
i changed the args plan several times and forgot to sync the shorts compared to long options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants