https://authzed.com logo
#spicedb
Title
# spicedb
j

Joey

12/06/2022, 3:37 PM
there is also a flag:
--http-enabled
e

ensonic

12/06/2022, 6:48 PM
where do you see that?
spicedb serve --help
does not have it
j

Joey

12/06/2022, 6:49 PM
Copy code
--http-enabled                                             enable http http server
j

Joey

12/06/2022, 6:52 PM
spicedb help serve
you're looking at the overall help
e

ensonic

12/06/2022, 6:54 PM
ohh, I had to omit the '--', now I see them
lol "http http server" 🙂 and no default specified in the help
it is going to be multiple PRs
j

Joey

12/06/2022, 7:00 PM
no default specified because its off by default
e

ensonic

12/06/2022, 7:01 PM
yep found it all
its is a good practise to show the default in the help string as you do form some flags, easy to fix
Do you know why the default is not shown for all flags?
Copy code
--http-enabled                  enable http http server
--ns-cache-enabled              enable caching (default true)
(I am talking about the
(default true)