change deprecated -link to --link