Remix.run Logo
Sammi 2 hours ago

This is user error. oxfmt did what you asked it to do.

rk06 2 hours ago | parent [-]

I don't think so. If someone runs a tool without args, the tool should do equivalent of "tool --help"

It is bad ux.

Sammi an hour ago | parent [-]

I expect a file formatter to format the files when I call it. Anything else would be surprising to me.

rk06 an hour ago | parent [-]

a new user should not expected to know whether to use "--info", "--help", or "-info" or "/info"

A power user can just pass the right params. Besides, it is not that hard to support "--yolo" parameter for that use case

xigoi an hour ago | parent [-]

Would you enjoy writing `rm --yolo file` instead of `rm file` every time?

user3939382 30 minutes ago | parent [-]

Not taking a position but the design of rm strengthens the position that recursive by default without flags isn’t ok. rm makes you confirm when you want changes to recurse dirs.