Issue #416 has been updated by Clément OUDOT.

I think the main problem is that lsc and lsc-agent use both the same launcher:
<pre>
"${JAVA_COMMAND}" -cp "$CLASSPATH" $JAVA_OPTS org.lsc.Launcher $*
</pre>

Maybe we should have a specific launcher for each script?
----------------------------------------
Bug #416: The lsc-agent script help is wrong
http://tools.lsc-project.org/issues/416

Author: Clément OUDOT
Status: New
Priority: Normal
Assigned to: 
Category: 
Target version: 2.0.x branch
Problem in version: 


In http://lsc-project.org/wiki/documentation/2.0/execution/start, the doc says 
the command line parameters are:
* -a gives the ability to start a named task
* -l provides a list of asynchronous tasks
* -s gives the status (running or not) of an named task

But this is not what we have with the built-in help:
<pre>
clement@ader:~/Programmes/lsc-2.0rc2$ bin/lsc-agent --help
usage: lsc
 -x,--convert                     Convert lsc.properties to lsc.xml (-f is
                                  mandatory while converting)
 -i,--time-limit                  Time limit in parallel server mode in
                                  seconds (default: 3600)
 -a,--asynchronous-synchronize    Asynchronous synchronization task (one
                                  of the available tasks or 'all')
 -c,--clean                       Cleaning type (one of the available
                                  tasks or 'all')
 -f,--config                      Specify configuration directory
 -h,--help                        Get this text
 -n,--dryrun                      Don't update the directory at all
 -nc,--nocreate                   Don't create any entry
 -nd,--nodelete                   Don't delete
 -nr,--nomodrdn                   Don't rename (MODRDN)
 -nu,--noupdate                   Don't update
 -s,--synchronize                 Synchronization task (one of the
                                  available tasks or 'all')
 -t,--threads                     Number of parallel threads to
                                  synchronize a task (default: 5)
 -v,--validate                    Validate configuration (check
                                  connections ...)
Last log file line: 2012/04/04 16:57:10 [lsc] Starting LSC Remote Agent
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-dev mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-dev

Reply via email to