Skip to content

Commit

Permalink
Merge pull request sass#46 from svnieuw/master
Browse files Browse the repository at this point in the history
Use getopt_long() instead of getopt_long_only() to parse arguments.
  • Loading branch information
Aaron Leung committed Jan 3, 2014
2 parents 33bc4db + 38e5293 commit 897155f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sassc.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ int main(int argc, char** argv) {
{ "sourcemap", no_argument, 0, 'm' },
{ "help", no_argument, 0, 'h' }
};
while ((c = getopt_long_only(argc, argv, "hslmt:I:", long_options, &long_index)) != -1) {
while ((c = getopt_long(argc, argv, "hslmt:I:", long_options, &long_index)) != -1) {
switch (c) {
case 's':
from_stdin = 1;
Expand Down

0 comments on commit 897155f

Please sign in to comment.