diff --git a/howto/gitlab.md b/howto/gitlab.md
index bc84699ffd36f466c7e1d02fa2e083b9b15968e9..b553710be8143c6590fb1f0f66395a0345f68463 100644
--- a/howto/gitlab.md
+++ b/howto/gitlab.md
@@ -645,7 +645,7 @@ instance:
 
 This command also shows general info about the GitLab instance:
 
-    sudo gitlab-rake gitlab:check SANITIZE=true
+    sudo gitlab-rake gitlab:env:info
 
 it is especially useful to find on-disk files and package versions.