aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/leap/platform.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/leap/platform.rb b/lib/leap/platform.rb
index 6938fb3..3e1d138 100644
--- a/lib/leap/platform.rb
+++ b/lib/leap/platform.rb
@@ -75,6 +75,14 @@ module Leap
end
end
+ def method_missing(method, *args)
+ puts
+ puts "WARNING:"
+ puts " leap_cli is out of date and does not understand `#{method}`."
+ puts " called from: #{caller.first}"
+ puts " please upgrade to a newer leap_cli"
+ end
+
end
end