Comment 8 for bug 590925

Revision history for this message
Grondr (grondr) wrote :

Aha! In that case, I agree with everything you've said. :)

(Yes, I agree that it's pointlessly incompatible, but I thought someone must have had a good reason for it---e.g., I'd simply assumed there was -some- point that I was missing, and that Ubuntu had gone along. I also agree that -having- to pass -p is silly if it can take it as a parameter without -p [it certainly makes both the client & server syntax much more similar to not require -p), but yes, for backward compatibility, -p should be allowed.)

Thanks!

P.S. Huh. I haven't gone and looked at nc's code carefully, but that clause you quote that includes the string "cannot use -p and -l" doesn't seem to make it through to any user-visible output. If I try just "nc -l -p 1234",
I get the "usage: nc [blah blah blah]" that lists all the options but does not include that string, which was one of the problems---the message I saw never said "you're using incompatible options", and since I was using the same options as I always had before, it seemed like option parsing had simply gotten broken somehow instead. Anyway, thanks again.