Hacker News new | past | comments | ask | show | jobs | submit login

The ordering of the arguments changes behavior, I don't think that's a good thing or desired outcome, at most it's a bug_feature.

It tend to happen when big project rolls out batteries itself, in this case command line parsing.




The ffmpeg cli supports multiple inputs and multiple outputs, so there needs to be a way to unambiguously map an option to its target. Position is looked at, to group options for the same target together.


argument order is definitely a feature. with -ss being one that behaves differently depending on it's location in reference to -i. it's not an accidental thing and the desired outcome dictates where you place it. not understanding that just means you're not using it enough to grok it.


Oh I used it enough to understand.

But I'm not convinced, maybe it is the local optima though.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: