diff options
author | Chris Schlaeger <chris@linux.com> | 2016-05-20 21:08:13 +0200 |
---|---|---|
committer | Chris Schlaeger <chris@linux.com> | 2016-05-20 21:08:13 +0200 |
commit | e0f94e3c2eca6c68c2a48fc5285c5618f36abd01 (patch) | |
tree | f6888b12c652a395d563b8ffdb91aab39d46ab8f | |
parent | 9d4a7ce30b3ea2d822aebc25f5abd1b3f6c966b7 (diff) | |
download | postrunner-e0f94e3c2eca6c68c2a48fc5285c5618f36abd01.zip |
Fix: Print help text to stdout and not stderr.
-rw-r--r-- | lib/postrunner/Main.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/postrunner/Main.rb b/lib/postrunner/Main.rb index 3d568a0..477efda 100644 --- a/lib/postrunner/Main.rb +++ b/lib/postrunner/Main.rb @@ -154,7 +154,7 @@ EOT Log.level = Logger::DEBUG end opts.on('-h', '--help', 'Show this message') do - $stderr.puts opts + $stdout.puts opts return nil end opts.on('--version', 'Show version number') do @@ -189,7 +189,7 @@ import [ <fit file> | <directory> ] previous import is being used. list - List all FIT files stored in the data base. + List all FIT files stored in the database. monthly [ <YYYY-MM-DD> ] |