equal
deleted
inserted
replaced
132 val more_args = getopts(args) |
132 val more_args = getopts(args) |
133 if (more_args.nonEmpty) getopts.usage() |
133 if (more_args.nonEmpty) getopts.usage() |
134 |
134 |
135 if (operation_list) { |
135 if (operation_list) { |
136 for (entry <- using(SQLite.open_database(Data.database))(list(_)) if entry.active) |
136 for (entry <- using(SQLite.open_database(Data.database))(list(_)) if entry.active) |
137 Console.println(entry.print) |
137 Output.writeln(entry.print, stdout = true) |
138 } |
138 } |
139 else { |
139 else { |
140 val (entry, thread) = start(name, port) |
140 val (entry, thread) = start(name, port) |
141 Console.println(entry.print) |
141 Output.writeln(entry.print, stdout = true) |
142 thread.foreach(_.join) |
142 thread.foreach(_.join) |
143 } |
143 } |
144 }) |
144 }) |
145 } |
145 } |
146 |
146 |