Fix synchronize command so that it accepts an argument.

The argument could be any of:
  code|data|both|code data|data code
Merge pull request #105 from pjcdawkins/fix/synchronize-command-argument

Fix synchronize command so that it accepts an argument.