From 625121ab53ea4a54d381fb2fe8c3c31244ad6ab7 Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Tue, 28 Jul 2020 08:41:15 -0500 Subject: [Command Tags] Add abbreviations for truthy/falsy words --- app/lib/command_tag/processor.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app') diff --git a/app/lib/command_tag/processor.rb b/app/lib/command_tag/processor.rb index 34de03e4e..0d72c7a07 100644 --- a/app/lib/command_tag/processor.rb +++ b/app/lib/command_tag/processor.rb @@ -256,11 +256,11 @@ class CommandTag::Processor end def read_falsy_from(arg) - %w(false no off disable).include?(arg) + %w(f n false no off disable).include?(arg) end def read_truthy_from(arg) - %w(true yes on enable).include?(arg) + %w(t y true yes on enable).include?(arg) end def read_boolean_from(arg) -- cgit