Skip to content

procodile start -r -f [PATH_TO_PROCFILE] doesn't work as expected, but procodile start -f -r [PATH_TO_PROCFILE] does work #37

Open
@viktodorov

Description

@viktodorov

While working on a startup script for procodile, I noticed that procodile start -r -f [PATH_TO_PROCFILE] puts the second flag -f inside the path, while running procodile start -f -r [PATH_TO_PROCFILE] does work as expected:
Error: Procfile not found at /opt/rails/-f/Procfile

I tried changing -f to --foreground as well, and it seems to have the same result:
Error: Procfile not found at /opt/rails/--foreground/Procfile

However, once I swapped both flags, everything worked as expected.

I'm not sure if I missed any piece of documentation that mentions the importance of flag order, sorry in case I did miss it. In any case, is this the intended behavior?

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