diff --git a/lib/leap_cli/commands/compile.rb b/lib/leap_cli/commands/compile.rb
index 92c879d728a1b8e6ff967ebd5239a6782266001f..16dff3df9a67b136b68f249d44e1840c8ea5b479 100644
--- a/lib/leap_cli/commands/compile.rb
+++ b/lib/leap_cli/commands/compile.rb
@@ -155,7 +155,7 @@ module LeapCli
       buffer = StringIO.new
       keys = Dir.glob(path([:user_ssh, '*']))
       if keys.empty?
-        bail! "You must have at least one public SSH user key configured in order to proceed. See `leap help add-user`."
+        bail! "You must have at least one public SSH user key configured in order to proceed. See `leap help user add`."
       end
       if file_exists?(path(:monitor_pub_key))
         keys << path(:monitor_pub_key)