aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@rgdd.se>2023-03-18 13:53:35 +0100
committerRasmus Dahlberg <rasmus@rgdd.se>2023-03-18 13:53:35 +0100
commit86bdffab068177a42fe9a813ce85f1dd1d9435bc (patch)
tree1b7e54c256e237ceea66625c5301ec92f57107f7
parent5ebf7180de3bddfad51b0fdedc264452dd7e6dac (diff)
rename default dir
-rw-r--r--.gitignore2
-rw-r--r--main.go4
2 files changed, 3 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index f4bcc44..1269488 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-ct-sans
+data
diff --git a/main.go b/main.go
index b78b007..40c3e82 100644
--- a/main.go
+++ b/main.go
@@ -39,7 +39,7 @@ Help:
Options:
- -d, --directory: The ct-sans working directory (Default: "ct-sans")
+ -d, --directory: The ct-sans working directory (Default: "data")
-w, --workers: Number of parallel download workers per log (Default: 2)
-k, --batch-disk: Certificate batch size before persisting (Default: 16384)
-q, --batch-req: Certificate batch size to use in request (Default: 512)
@@ -76,7 +76,7 @@ func main() {
// Define command-line options
fs := ctflag.NewFlagSet()
opts := options{}
- ctflag.String(&fs, &opts.Directory, "directory", "d", "ct-sans")
+ ctflag.String(&fs, &opts.Directory, "directory", "d", "data")
ctflag.Uint64(&fs, &opts.WorkersPerLog, "workers", "w", 2)
ctflag.Uint64(&fs, &opts.PersistSize, "batch-disk", "k", 16384)
ctflag.Uint64(&fs, &opts.BatchSize, "batch-req", "q", 512)