From 4bfd1c60c2a7c59784c289c667e79c04cea921e9 Mon Sep 17 00:00:00 2001 From: Denis Yantarev Date: Sat, 3 Dec 2016 15:56:22 +0300 Subject: [PATCH] Fix default option value type warning --- lib/homesick/cli.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/homesick/cli.rb b/lib/homesick/cli.rb index c82f34a..159d470 100644 --- a/lib/homesick/cli.rb +++ b/lib/homesick/cli.rb @@ -66,6 +66,7 @@ module Homesick desc 'rc CASTLE', 'Run the .homesickrc for the specified castle' method_option :force, + type: :boolean, default: false, desc: 'Evaluate .homesickrc without prompting.' def rc(name = DEFAULT_CASTLE_NAME) @@ -128,6 +129,7 @@ module Homesick desc 'link CASTLE', 'Symlinks all dotfiles from the specified castle' method_option :force, + type: :boolean, default: false, desc: 'Overwrite existing conflicting symlinks without prompting.' def link(name = DEFAULT_CASTLE_NAME)