cbr-schedule

An unofficial Bible-reading-plan generator
git clone git://git.danielmoch.com/cbr-schedule.git
Log | Files | Refs | README | LICENSE

commit dcddbd9efcb69fc0984debc9053a46169e268e50
parent 41dc9af0e3c7f1a337db3daa8b8323354edcc194
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Sat,  3 Mar 2018 15:43:16 -0500

Add version number. Correct usage message.

Diffstat:
Mgenerate_schedule | 10++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/generate_schedule b/generate_schedule @@ -27,12 +27,18 @@ from schedule import Schedule from sys import argv import configparser +VERSION = '0.2.1-dev' + def print_usage(): + print('generate_schedule ' + VERSION) print('Usage: generate_schedule filename [config]') print('\tfilename - File name to export schedule to. Export type is') - print('\t determined from extension. Supported types are:') + print('\t\tdetermined from extension. Supported types are:') print('\t\tJSON (ext: .json)') - print('\tconfig - Path to schedule config file (default: schedule.ini)') + print('\t\tPlain text (ext: .txt)') + print('\t\tComma-separated values (ext: .csv)') + print('\t\tLaTeX (ext: .tex)') + print('\tconfig - Path to config file (default: generate_schedule.ini)') def generate_schedule(filename, configfile='generate_schedule.ini'): """