summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2010-10-20 01:37:38 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2010-10-20 01:37:38 -0700
commit47307199efa0bf754e4f5ede6342c3a60ebad373 (patch)
treee178de058277f639bb9c469a9009f4b9516fa2d6
parent3f002dd634293f516fbfcf912715727eda05c80c (diff)
downloadomptagger-47307199efa0bf754e4f5ede6342c3a60ebad373.tar.gz
omptagger-47307199efa0bf754e4f5ede6342c3a60ebad373.tar.xz
Single-line if statement.
-rwxr-xr-xomptagger4
1 files changed, 1 insertions, 3 deletions
diff --git a/omptagger b/omptagger
index 8ca383d..1853b62 100755
--- a/omptagger
+++ b/omptagger
@@ -480,9 +480,7 @@ elsif ARGV.empty?
exit
end
-if options[:nocolour]
- Output.colour = false
-end
+Output.colour = false if options[:nocolour]
ARGV.each do |filename|
begin