forked from Telodendria/Telodendria
Fix -v option
This commit is contained in:
parent
e0f7c133d1
commit
5b77236e82
3 changed files with 24 additions and 2 deletions
13
TODO.txt
13
TODO.txt
|
@ -18,9 +18,12 @@ Milestone: v0.2.0
|
|||
[ ] Logout
|
||||
[ ] Logout all
|
||||
[ ] Login fallback (static HTML page)
|
||||
[ ] User Interactive
|
||||
[ ] Passwords
|
||||
[ ] Registration tokens
|
||||
[ ] Caller builds flows
|
||||
[x] Non-JSON endpoints
|
||||
[x] Home page (like Synapse's "it works!")
|
||||
[ ] Content repository
|
||||
|
||||
[x] Document MemoryHexDump()
|
||||
[x] Document DbExists()
|
||||
|
@ -56,6 +59,13 @@ Milestone: v0.4.0
|
|||
[ ] 7: Events
|
||||
[ ] 8: Rooms
|
||||
|
||||
Milestone: v0.5.0
|
||||
-----------------
|
||||
|
||||
[~] Client-Server API
|
||||
[ ] Modules
|
||||
[ ] Content Repository
|
||||
|
||||
Milestone: v1.0.0
|
||||
-----------------
|
||||
|
||||
|
@ -65,7 +75,6 @@ Milestone: v1.0.0
|
|||
[ ] Voice over IP
|
||||
[ ] Receipts
|
||||
[ ] Fully Read Markers
|
||||
[ ] Content Repository
|
||||
[ ] Send-To-Device Messaging
|
||||
[ ] Server-Server API
|
||||
[ ] Application Service API
|
||||
|
|
|
@ -53,6 +53,10 @@ it. Currently, it only implements a single dummy login flow,
|
|||
so it's more of a formality than anything else, but more login
|
||||
flows can easily be added in the future.
|
||||
.It
|
||||
Added a simple landing page that allows those setting up
|
||||
.Nm
|
||||
to quickly verify that it is accessible where it needs to be.
|
||||
.It
|
||||
Added a way to safely delete objects from the database.
|
||||
While the database is for persistent storage, there may
|
||||
be some ephemeral data that lives there only for a short
|
||||
|
@ -147,6 +151,10 @@ Updated the copyright year in the source code and compiled output.
|
|||
.It
|
||||
Switch the -std=c89 flag to -ansi instead, as -ansi might be more
|
||||
supported.
|
||||
.It
|
||||
Fixed the -v flag. It now sets the log level to debug as soon
|
||||
as possible to allowe debugging the configuration file parsing
|
||||
if necessary.
|
||||
.El
|
||||
.Pp
|
||||
And many more small bug fixes and feature additions. Please
|
||||
|
|
|
@ -260,6 +260,11 @@ main(int argc, char **argv)
|
|||
}
|
||||
}
|
||||
|
||||
if (flags & ARG_VERBOSE)
|
||||
{
|
||||
LogConfigLevelSet(lc, LOG_DEBUG);
|
||||
}
|
||||
|
||||
if (flags & ARG_VERSION)
|
||||
{
|
||||
goto finish;
|
||||
|
|
Loading…
Reference in a new issue