diff --git a/doc/operations/moving_repositories.md b/doc/operations/moving_repositories.md
index 231e09f0462acc5f2bd236fb67b102d9879470e3..88b90e91316a8cbd5a8704fd9edadab35723d8e3 100644
--- a/doc/operations/moving_repositories.md
+++ b/doc/operations/moving_repositories.md
@@ -39,8 +39,7 @@ tar -C /var/opt/gitlab/git-data/repositories -cf - -- . |\
 ```
 
 If you want to compress the data before it goes over the network
-(which will cost you CPU cycles) you can replace `ssh` with `ssh
--C`.
+(which will cost you CPU cycles) you can replace `ssh` with `ssh -C`.
 
 ## The target directory contains an outdated copy of the repositories: use rsync