3 ms·
In this case, "file" is the arg, not --yolo. `rm` without any args returns `` rm: missing operand Try 'rm --help' for more information. ``` `oxfmt` should hav
by phcreery 7mo ago
In this case, "file" is the arg, not --yolo. `rm` without any args returns
``
rm: missing operand
Try 'rm --help' for more information.
```
`oxfmt` should have done the same and `oxfmt .`, with the desired dir ".", should have been the required usage.
- xigoi 7mo agoI expect invoking a command-line tool without any arguments to perform the most common action. Displaying the help should only be a fallback if there is no most common action. For example, `git init` modifies the current directory instead of asking you, because that’s what you want to do most of the time.