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

Add man page #106

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Add man page #106

wants to merge 3 commits into from

Conversation

dengelt
Copy link
Contributor

@dengelt dengelt commented Apr 8, 2016

I had originally written this man page for Debian (because every executable is required to have a man page in Debian), and while working on the new package I asked myself why I didn't submit it upstream earlier, so here I am. :)

One thing I'm not sure about are the log levels, because they seem to be
-1 (Error)
0 (Critical)
1 (Warning)
2 (Message)
3 (Info)
4 (Debug)

I didn't document the "Error" level (-1) because it seems weird, so maybe it wasn't intended to be specified by the user. It also seems to be used only once in the mpv backend (which doesn't really exist yet). But maybe it is the numbering that is wrong and Error was supposed to be 0 and so on, if that's the case I can update the PR after that is fixed.

@vinszent
Copy link
Owner

vinszent commented Apr 8, 2016

Error is always shown because an error will halt the application. I'm going to quickly rewrite how command line options are handled so I'll probably be updating how the debug flags are handled. I'll ping you when it's done.

@vinszent
Copy link
Owner

I've re-implemented CLI options. The -l/--log-level now uses keywords, so for example gnome-twitch -l info will show messages of priority info and above, the default is message. This also enables all the standard GApplication options as well.

dengelt added 2 commits May 25, 2016 19:52
* New log levels
* Updated date
* Updated features
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants