aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@rgdd.se>2023-03-20 19:57:56 +0100
committerRasmus Dahlberg <rasmus@rgdd.se>2023-03-20 19:57:56 +0100
commit2823c663a0d0845c2abcbcef76efca9af550ca75 (patch)
treec48c9aa71b54b6ca7fd8323ef609ef0992df7d73
parent2bee2104c84628a68ef7124a1beefa4e1f98369e (diff)
Change default to /tmp
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 88d6b90..d72b347 100644
--- a/main.go
+++ b/main.go
@@ -53,7 +53,7 @@ Asemble options:
-d, --directory: The ct-sans working directory (Default: "data")
-b, --buffer-size: Max memory to use in Gigabytes (Default: 1)
- -t, --temp-dir: Temporary on-disk storage directory (Default: /tmp/ct-sans)
+ -t, --temp-dir: Temporary on-disk storage directory (Default: /tmp)
-p, --parallel: Number of CPUs to use (Default: 1)
`
@@ -107,7 +107,7 @@ func main() {
ctflag.Duration(&fs, &opts.MetricsInterval, "metrics", "m", 16*time.Second)
ctflag.Uint64(&fs, &opts.BufferSize, "buffer-size", "b", 1)
- ctflag.String(&fs, &opts.TempDir, "temp-dir", "t", "/tmp/ct-sans")
+ ctflag.String(&fs, &opts.TempDir, "temp-dir", "t", "/tmp")
ctflag.Uint64(&fs, &opts.Parallel, "parallel", "p", 1)
// Parse command-line options and hardcode additional values