about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--code/runcontext.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/runcontext.rb b/code/runcontext.rb
index f39e80d3..aceccb99 100644
--- a/code/runcontext.rb
+++ b/code/runcontext.rb
@@ -42,7 +42,7 @@ class RunContext
 		end
 		self.flags = flags || ''
 
-		if !@all and ( cf = Fm.currentfile ).is_a? Directory::Entry
+		if @flags.include?( "A" ) and ( cf = Fm.currentfile ).is_a? Directory::Entry
 			@files = [cf]
 		end