Changes in uspace/app/nterm/nterm.c [a62ceaf:287d729] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/nterm/nterm.c
ra62ceaf r287d729 104 104 static void print_syntax(void) 105 105 { 106 printf("syntax: nterm <host> :<port>\n");106 printf("syntax: nterm <host> <port>\n"); 107 107 } 108 108 … … 112 112 int rc; 113 113 114 if (argc != 2) {114 if (argc != 3) { 115 115 print_syntax(); 116 116 return 1; 117 117 } 118 118 119 rc = conn_open(argv[1] );119 rc = conn_open(argv[1], argv[2]); 120 120 if (rc != EOK) { 121 121 printf("Error connecting.\n");
Note:
See TracChangeset
for help on using the changeset viewer.