Skip to content

Ordering of -S and --pidfile #28

@szaydel

Description

@szaydel

The order in which -S|--status and --pidfile are specified will determine success of command:

# ./mon --pidfile /var/run/checkd.pid -S
13858 : alive : uptime 15 seconds

# ./mon -S --pidfile /var/run/checkd.pid
Error: --pidfile required

It should not matter whether -S|--status comes before or after the --pidfile argument. I don't think it should matter at least. There is nothing seemingly to be gained from having specific ordering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions