Skip to content

Commit 4bfcdd3

Browse files
committed
fix bug with -o introduced in 2ac318b
1 parent ca916f5 commit 4bfcdd3

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

compile_time_python/options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ def parse_arg(arg, remaining_args, options):
381381
elif arg == "--help":
382382
print()
383383
sys.exit(0)
384-
elif arg == "-x":
384+
elif arg.startswith("-o"):
385385
if arg == "-o":
386386
if remaining_args:
387387
options.object_pathname = remaining_args.pop(0)
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
#include <string.h>
2-
#include <unistd.h>
32

43
int main(void) {
54
char c = 'd';
65
char s[5];
76
strcat(s, &c);
8-
}
7+
}

0 commit comments

Comments
 (0)