summaryrefslogtreecommitdiff
path: root/OCRImage
diff options
context:
space:
mode:
Diffstat (limited to 'OCRImage')
-rw-r--r--OCRImage/main.swift14
1 files changed, 13 insertions, 1 deletions
diff --git a/OCRImage/main.swift b/OCRImage/main.swift
index d00d3e9..3941dee 100644
--- a/OCRImage/main.swift
+++ b/OCRImage/main.swift
@@ -6,6 +6,18 @@
//
import Foundation
+import ArgumentParser
-print("Hello, World!")
+print("Start program")
+struct OCROptions : ParsableArguments {
+ @Flag(name: .shortAndLong, help:"Show extra debugion info")
+ var debug=false
+
+ @Flag(name:.shortAndLong, help:"Show current version")
+ var version=false
+}
+
+let options = OCROptions.parseOrExit()
+
+print("End programm")