diff options
Diffstat (limited to 'OCRImage')
-rw-r--r-- | OCRImage/main.swift | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OCRImage/main.swift b/OCRImage/main.swift index 3e5d08a..79d5b4b 100644 --- a/OCRImage/main.swift +++ b/OCRImage/main.swift @@ -112,10 +112,14 @@ struct OCROptions : ParsableArguments { let options = OCROptions.parseOrExit() +//Print version version and quit if options.version { - print("Version: 0.0.1") + print("Version: 0.0.2") + exit(0) } + + print("OCR Input file: \(options.inputFile)") //Try to open file from URL |