Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

provide --help option #19

Closed
flokli opened this issue Nov 20, 2022 · 1 comment
Closed

provide --help option #19

flokli opened this issue Nov 20, 2022 · 1 comment

Comments

@flokli
Copy link

flokli commented Nov 20, 2022

WIth #18 applied, I successfully built jmap-server, and tried running it:

❯ result/bin/stalwart-jmap
2022-11-20T13:41:13.997795Z  WARN stalwart_jmap: Warning: Hostname parameter 'jmap-url' was not specified, using 'http://localhost:8080'.
Failed to open database: Internal error: Failed to create index directory /usr/local/stalwart-jmap/data/idx: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }

I tried the --help option to see available options, but it seems it's not rendering help:

❯ result/bin/stalwart-jmap --help
2022-11-20T13:39:38.129059Z  WARN stalwart_jmap: Warning: Hostname parameter 'jmap-url' was not specified, using 'http://localhost:8080'.
Failed to open database: Internal error: Failed to create index directory /usr/local/stalwart-jmap/data/idx: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }
@mdecimus
Copy link
Member

Hi @flokli , Stalwart JMAP v0.3 was just released and it supports only --config as a parameter. If this parameter is missing it prints out a message.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants