diff --git a/args.py b/args.py index 3e4581b..001a0e0 100644 --- a/args.py +++ b/args.py @@ -35,6 +35,37 @@ def handle_arguments(arguments, config, engine): for voice in voices: print(voice) exit() + case '--help'|'h': + print('''Command line options +All these options overide configuration in config.json +c,f,h,i,l,m,o,q,t,u,v,w +--wpm, -w + set the rate of dictation, defaults to 50, note: this is not exact as it measures the time between words in order to avoid a very short gap after a long word. +--mode, -m + Sets a mode, one of 'timed', 'words','quote' or 'file' followed by an optional modifier representing either the time (in seconds) or the number of words, or the quote ID, or the file name. +--filename, -f + Passes a filename as parameter for the file mode +--words, -o + Number of words for words mode +--time, -t