From afb00f8409d1fe264e30f407bc0ff1d92db41856 Mon Sep 17 00:00:00 2001 From: Thomas O'Dowd Date: Mon, 4 Nov 2013 22:13:55 +0900 Subject: [PATCH] Small update to usage help. --- README.md | 2 +- lemondcsv.py | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3c21bd9..cf777a6 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# lemondcsv v1.1.0 +# lemondcsv v1.1.1 This script converts a native Lemond Revolution Power Pilot CVS workout file to a Garmin TCX file. The TCX file can be then imported diff --git a/lemondcsv.py b/lemondcsv.py index 2462db9..e44eab9 100755 --- a/lemondcsv.py +++ b/lemondcsv.py @@ -21,9 +21,12 @@ Simply run the program from the shell as follows: - ./lemondcsv.py 09261300.CSV > 09261300.tcx + ./lemondcsv.py 09261300.CSV -This is version: v1.0.1. You can always find the latest version of +This will create a new file of the same name but with a TCX extension +in the same directory as the CSV file, ie 09261300.tcx. + +This is version: v1.1.1. You can always find the latest version of this script at: https://github.com/tpodowd/lemondcsv """ @@ -352,7 +355,7 @@ def output_name(iname): def usage_exit(): - sys.stderr.write("Usage: lemondcsv.py [-f file.tcx] workout.csv\n") + sys.stderr.write("Usage: lemondcsv.py [-f workout.tcx] workout.csv\n") sys.exit(1) opts, args = getopt.getopt(sys.argv[1:], 'f:h')