Changeset cd22764 in mainline


Ignore:
Timestamp:
2011-01-05T12:53:03Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
196ef08, fdb9c39c
Parents:
1ad52de
Message:

in case —help argument is used, exit and do not proceed to echoing network traffic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/netecho/netecho.c

    r1ad52de rcd22764  
    180180                } else if (str_lcmp(argv[*index] + 2, "help", 5) == 0) {
    181181                        echo_print_help();
    182                         return EOK;
     182                        exit(0);
    183183                } else if (str_lcmp(argv[*index] + 2, "port=", 5) == 0) {
    184184                        rc = arg_parse_int(argc, argv, index, &value, 7);
Note: See TracChangeset for help on using the changeset viewer.