Merge branch 'master' into adapter-refactor

This commit is contained in:
Sumner Evans
2020-05-19 13:51:11 -06:00
3 changed files with 57 additions and 1 deletions

View File

@@ -90,3 +90,15 @@ html_context = {
# relative to this directory. They are copied after the builtin static files, # relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css". # so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"] html_static_path = ["_static"]
# -- Options for manual page output ---------------------------------------
man_pages = [
(
"manpages/sublime-music",
"sublime-music",
"native GTK *sonic client",
"Louis-Philippe Véronneau",
1,
)
]

View File

@@ -0,0 +1,41 @@
Manual page for sublime-music
=============================
SYNOPSIS
--------
sublime-music [**-l** *LOGFILE*] [**-m** *LOGLEVEL*] [**-c** *CONFIG*]
sublime-music (**-h** \| **--help**)
sublime-music (**-v** \| **--version**)
DESCRIPTION
-----------
Sublime Music is a GTK3 Revel/Gonic/Subsonic/Airsonic/\*sonic client for the
Linux Desktop.
OPTIONS
-------
**-h**, **--help**
Show the help screen.
**-v**, **--version**
Show the version information.
**-l**, **--logfile** *LOGFILE*
The filename to send logs to.
**-m**, **--loglevel** *LOGLEVEL*
The minimum level of logging to do.
**-c**, **--config** *CONFIG*
Specify a configuration file.
Defaults to ``~/.config/sublime-music/config.json``.
BUGS
----
You can report bugs in your distribution issue tracker or upstream at
https://gitlab.com/sumner/sublime-music/-/issues

View File

@@ -20,7 +20,10 @@ def main():
) )
parser.add_argument("-l", "--logfile", help="the filename to send logs to") parser.add_argument("-l", "--logfile", help="the filename to send logs to")
parser.add_argument( parser.add_argument(
"-m", "--loglevel", help="the minium level of logging to do", default="WARNING", "-m",
"--loglevel",
help="the minimum level of logging to do",
default="WARNING",
) )
parser.add_argument( parser.add_argument(
"-c", "-c",