diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2010-10-18 21:45:24 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2010-10-18 21:45:24 -0700 |
commit | 2f17e1a5dca4a1b03347baf20017bd187e1b688c (patch) | |
tree | d54aff14353a3cf1bbc3de78a8a079b5952378a1 /omptagger | |
parent | 3883f487538a81af59860251165a640bbc1f7db2 (diff) | |
download | omptagger-2f17e1a5dca4a1b03347baf20017bd187e1b688c.tar.gz omptagger-2f17e1a5dca4a1b03347baf20017bd187e1b688c.tar.xz |
Simpler output when no action is specified.
Diffstat (limited to 'omptagger')
-rwxr-xr-x | omptagger | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |