sleyzerzon / soar

Automatically exported from code.google.com/p/soar
1 stars 0 forks source link

mincli.cpp does not allow agent listener creation #120

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. C:\Soar\SoarSuite_9.3.2-Windows_64bit\bin>cli -1 -n soarx1 -p 12122 wmes
usage: cli [-o] [-n <agent name>] [-p <port>] [-s <source>] <commands> ... 
2. Source code review for mincli.exe

What is the expected output? What do you see instead?
(see above)

What version of the product are you using? 9.3.2
On what operating system? Windows 7

Please provide any additional information below.

In program file mincli.cpp...

line 213: listen = true;  (should there be a break after this line?)

line 240: cout << "usage: " << argv[0] << " [-o] [-n <agent name>] [-p <port>] 
[-s <source>] <commands> ..." << endl;   (should the -o be replaced with a -l ?)

line 249: if (listen) {  (true does not appear to ever be set?)

(my C++ is very rusty, but something is not letting me issue a -l argument to 
cli.exe )

Original issue reported on code.google.com by hfcul...@gmail.com on 13 Nov 2012 at 11:08

GoogleCodeExporter commented 9 years ago
You're looking at the most recent version of the source, which is not the 
version compiled for 9.3.2. Here's the code you want:

http://code.google.com/p/soar/source/browse/tags/Soar-Suite-9.3.2/TestCLI/mincli
.cpp

Please try using -t instead of -l.

Original comment by joseph...@gmail.com on 13 Nov 2012 at 11:29