vCtx.setVerbose(cl.hasOption(OPT_VERBOSE));
vCtx.setQuiet(cl.hasOption(optOnlyControlled));
Action a = cl.hasOption(optShowUpdate)
? new RemoteStatus(localDir, localFiles, cl.hasOption(optNonRecursive))
: new Status(localDir, localFiles, cl.hasOption(optNonRecursive));
vCtx.execute(a);
}
/**
* {@inheritDoc}
*/