Changes in uspace/app/nterm/nterm.c [287d729:a62ceaf] in mainline
- File:
-
- 1 edited
-
uspace/app/nterm/nterm.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/nterm/nterm.c
r287d729 ra62ceaf 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 != 3) {114 if (argc != 2) { 115 115 print_syntax(); 116 116 return 1; 117 117 } 118 118 119 rc = conn_open(argv[1] , argv[2]);119 rc = conn_open(argv[1]); 120 120 if (rc != EOK) { 121 121 printf("Error connecting.\n");
Note:
See TracChangeset
for help on using the changeset viewer.
