Added -localOnly option to sync sub-command.