镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.
This repository was archived by the owner on Sep 29, 2023. It is now read-only.

passing options -a and -n to RRDTool #41

Open

Description

@pmbert

"PYTHON": "3.7.3",
"RRDTOOL": "1.7.1",
"PYTHON_RRDTOOL": "0.1.16",

This is just a small thing, but it took me some time to understand why my program was not working properly.

Normally I always leave a space between option and argument. But for the options -a and -n the space must be omitted exceptionally, otherwise RRDTool will return an error.
Example:
'-a SVG', # unsupported graphics format ' SVG'
'-n DEFAULT:10', # invalid text property format
'-n TITLE:14:Times', #invalid text property format

Invoking RRDTool from bash with spaces works properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions