From 2f17e1a5dca4a1b03347baf20017bd187e1b688c Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Mon, 18 Oct 2010 21:45:24 -0700 Subject: Simpler output when no action is specified. --- omptagger | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/omptagger b/omptagger index 879c596..2ae0133 100755 --- a/omptagger +++ b/omptagger @@ -471,9 +471,10 @@ GetoptLong.new( end end -Output.help_information if actions.empty? - -if ARGV.empty? +if actions.empty? + puts 'No actions specified. See the --help option.' + exit +elsif ARGV.empty? puts 'No files specified.' exit end -- cgit v1.2.3-70-g09d2