mirror of
https://github.com/bsedin/matrix-webhook.git
synced 2026-04-09 11:25:40 +00:00
FIX : more consistent naming for server socket path argument/environment variable
FIX : ruff error about using Path.chmod instead of os.chmod
This commit is contained in:
@@ -10,10 +10,10 @@ parser.add_argument(
|
||||
help="host to listen to. Default: `''`. Environment variable: `HOST`",
|
||||
)
|
||||
parser.add_argument(
|
||||
"-U",
|
||||
"--path",
|
||||
default=os.environ.get("PATH", ""),
|
||||
help="unix path to listen to. Default: `''`. Environment variable: `PATH`",
|
||||
"-S",
|
||||
"--server-path",
|
||||
default=os.environ.get("SERVER_PATH", ""),
|
||||
help="unix path to listen to. Default: `''`. Environment variable: `SERVER_PATH`",
|
||||
)
|
||||
parser.add_argument(
|
||||
"-P",
|
||||
|
||||
Reference in New Issue
Block a user