From 7ed553866be558426cd95e3b0866f389f6632194 Mon Sep 17 00:00:00 2001 From: David Stotijn Date: Mon, 13 Jan 2025 23:18:22 +0100 Subject: [PATCH] Update README and usage docs to with new default DB file path --- README.md | 2 +- cmd/hetty/hetty.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8e3f769..9cf4084 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ Runs an HTTP server with (MITM) proxy, GraphQL service, and a web based admin in Options: --cert Path to root CA certificate. Creates file if it doesn't exist. (Default: "~/.hetty/hetty_cert.pem") --key Path to root CA private key. Creates file if it doesn't exist. (Default: "~/.hetty/hetty_key.pem") - --db Database directory path. (Default: "~/.hetty/db") + --db Database file path. Creates file if it doesn't exist. (Default: "~/.hetty/hetty.db") --addr TCP address for HTTP server to listen on, in the form \"host:port\". (Default: ":8080") --chrome Launch Chrome with proxy settings applied and certificate errors ignored. (Default: false) --verbose Enable verbose logging. diff --git a/cmd/hetty/hetty.go b/cmd/hetty/hetty.go index 8129d7d..50c785c 100644 --- a/cmd/hetty/hetty.go +++ b/cmd/hetty/hetty.go @@ -50,7 +50,7 @@ Runs an HTTP server with (MITM) proxy, GraphQL service, and a web based admin in Options: --cert Path to root CA certificate. Creates file if it doesn't exist. (Default: "~/.hetty/hetty_cert.pem") --key Path to root CA private key. Creates file if it doesn't exist. (Default: "~/.hetty/hetty_key.pem") - --db Database directory path. (Default: "~/.hetty/db") + --db Database file path. Creates file if it doesn't exist. (Default: "~/.hetty/hetty.db") --addr TCP address for HTTP server to listen on, in the form \"host:port\". (Default: ":8080") --chrome Launch Chrome with proxy settings applied and certificate errors ignored. (Default: false) --verbose Enable verbose logging.