|
@@ -1,3 +1,8 @@
|
|
|
+/*
|
|
|
+ * This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
+ * file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
|
+ */
|
|
|
package main
|
|
|
|
|
|
import (
|
|
@@ -18,10 +23,16 @@ import (
|
|
|
"golang.org/x/term"
|
|
|
)
|
|
|
|
|
|
-var MaxRecords = 1_000_000_000
|
|
|
+var (
|
|
|
+ Version string
|
|
|
+ Build string
|
|
|
+)
|
|
|
+
|
|
|
+const MaxRecords = 1_000_000_000
|
|
|
|
|
|
func main() {
|
|
|
if len(os.Args) != 2 {
|
|
|
+ log.Printf("%s %s", Version, Build)
|
|
|
log.Printf("usage: %s <csv_path>", os.Args[0])
|
|
|
os.Exit(1)
|
|
|
}
|