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?
While working on a startup script for procodile, I noticed that
procodile start -r -f [PATH_TO_PROCFILE]puts the second flag-finside the path, while runningprocodile start -f -r [PATH_TO_PROCFILE]does work as expected:Error: Procfile not found at /opt/rails/-f/ProcfileI tried changing
-fto--foregroundas well, and it seems to have the same result:Error: Procfile not found at /opt/rails/--foreground/ProcfileHowever, 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?