Ignore:
File:
1 edited

Legend:

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

    ra62ceaf r287d729  
    104104static void print_syntax(void)
    105105{
    106         printf("syntax: nterm <host>:<port>\n");
     106        printf("syntax: nterm <host> <port>\n");
    107107}
    108108
     
    112112        int rc;
    113113
    114         if (argc != 2) {
     114        if (argc != 3) {
    115115                print_syntax();
    116116                return 1;
    117117        }
    118118
    119         rc = conn_open(argv[1]);
     119        rc = conn_open(argv[1], argv[2]);
    120120        if (rc != EOK) {
    121121                printf("Error connecting.\n");
Note: See TracChangeset for help on using the changeset viewer.