Use "sync" not "--sync".