From: <jh...@us...> - 2012-04-27 02:25:59
|
Revision: 331 http://etch.svn.sourceforge.net/etch/?rev=331&view=rev Author: jheiss Date: 2012-04-27 02:25:53 +0000 (Fri, 27 Apr 2012) Log Message: ----------- When processing commands if a guard fails then tell the user which command we're going to run to address the problem, similar to what we do when processing files. That way if the user is running in interactive mode they know what they're agreeing to have done. Modified Paths: -------------- trunk/client/lib/etch/client.rb Modified: trunk/client/lib/etch/client.rb =================================================================== --- trunk/client/lib/etch/client.rb 2012-04-27 02:00:29 UTC (rev 330) +++ trunk/client/lib/etch/client.rb 2012-04-27 02:25:53 UTC (rev 331) @@ -1591,6 +1591,9 @@ guard_result = process_guard(guard, commandname) if !guard_result + # Tell the user what we're going to do + puts "Will run command '#{command}'" + # If the user requested interactive mode ask them for # confirmation to proceed. if @interactive This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |