1

Merge pull request #4 from makigumo/master

fix -e flag
This commit is contained in:
Alex Yatskov 2018-06-01 19:16:12 -07:00 committed by GitHub
commit 98f0fcabb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
main.c
View File

@ -40,7 +40,7 @@ int main(int argc, char *argv[]) {
int flags = 0; int flags = 0;
int c = 0; int c = 0;
while ((c = getopt_long(argc, argv, "f:d:pmst", options, NULL)) != -1) { while ((c = getopt_long(argc, argv, "f:e:pmst", options, NULL)) != -1) {
switch (c) { switch (c) {
case 'p': case 'p':
flags |= FLAG_PRETTY_PRINT; flags |= FLAG_PRETTY_PRINT;