Fix default option value type warning
This commit is contained in:
@@ -66,6 +66,7 @@ module Homesick
|
|||||||
|
|
||||||
desc 'rc CASTLE', 'Run the .homesickrc for the specified castle'
|
desc 'rc CASTLE', 'Run the .homesickrc for the specified castle'
|
||||||
method_option :force,
|
method_option :force,
|
||||||
|
type: :boolean,
|
||||||
default: false,
|
default: false,
|
||||||
desc: 'Evaluate .homesickrc without prompting.'
|
desc: 'Evaluate .homesickrc without prompting.'
|
||||||
def rc(name = DEFAULT_CASTLE_NAME)
|
def rc(name = DEFAULT_CASTLE_NAME)
|
||||||
@@ -128,6 +129,7 @@ module Homesick
|
|||||||
|
|
||||||
desc 'link CASTLE', 'Symlinks all dotfiles from the specified castle'
|
desc 'link CASTLE', 'Symlinks all dotfiles from the specified castle'
|
||||||
method_option :force,
|
method_option :force,
|
||||||
|
type: :boolean,
|
||||||
default: false,
|
default: false,
|
||||||
desc: 'Overwrite existing conflicting symlinks without prompting.'
|
desc: 'Overwrite existing conflicting symlinks without prompting.'
|
||||||
def link(name = DEFAULT_CASTLE_NAME)
|
def link(name = DEFAULT_CASTLE_NAME)
|
||||||
|
|||||||
Reference in New Issue
Block a user