upnpc.c: Usage: / Notes: / Options:

This commit is contained in:
Thomas Bernard 2024-01-08 00:09:32 +01:00
parent ed5b0ad4f3
commit 93b44ed36d
1 changed files with 6 additions and 4 deletions

View File

@ -675,9 +675,11 @@ int main(int argc, char ** argv)
fprintf(stderr, " %s [options] -S\n Get Firewall status (for IGD:2 only)\n", argv[0]);
fprintf(stderr, " %s [options] -G remote_ip remote_port internal_ip internal_port protocol\n Get Outbound Pinhole Timeout (for IGD:2 only)\n", argv[0]);
fprintf(stderr, " %s [options] -P\n Get Presentation URL\n", argv[0]);
fprintf(stderr, "\nprotocol is UDP or TCP\n");
fprintf(stderr, "\nNotes:\n");
fprintf(stderr, " protocol is UDP or TCP.\n");
fprintf(stderr, " Use \"\" for any remote_host and 0 for any remote_port.\n");
fprintf(stderr, " @ can be used in option -a, -n, -A and -G to represent local LAN address.\n");
fprintf(stderr, "Options:\n");
fprintf(stderr, "\nOptions:\n");
fprintf(stderr, " -e description : set description for port mapping.\n");
fprintf(stderr, " -6 : use IPv6 instead of IPv4.\n");
fprintf(stderr, " -u URL : bypass discovery process by providing the XML root description URL.\n");