diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-01-10 05:06:16 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-01-10 05:06:16 +0000 |
commit | 379d538a0768daddd61d1562735044de8d7dad6f (patch) | |
tree | f72dc2e35ec539c96e8107794fdc48634560bbc4 /perl.c | |
parent | ff42dc34466c8b7bbb2a617e236c88a26a35aa12 (diff) | |
download | perl-379d538a0768daddd61d1562735044de8d7dad6f.tar.gz |
terminate -s switch processing only on C<-->, not on C<--foo>
p4raw-id: //depot/perl@4779
Diffstat (limited to 'perl.c')
-rw-r--r-- | perl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2827,7 +2827,7 @@ S_init_postdump_symbols(pTHX_ register int argc, register char **argv, register for (; argc > 0 && **argv == '-'; argc--,argv++) { if (!argv[0][1]) break; - if (argv[0][1] == '-') { + if (argv[0][1] == '-' && !argv[0][2]) { argc--,argv++; break; } |