News for hackers. Stuff that matters.
Re:Ask HN: Can I see your scripts? by junon on Monday August 15, 2022 @08:37AM (#32468882)
Correct. Git will try to run a built in subcommand, and if it doesn't exist, it'll fall back to trying to run `git-some-command`.

Many Linux tools do this. Rust's cargo is another.

In fact, `man` itself can take multiple positional arguments and will concatenate them with a hyphen to perform the lookup.

There are no comments on this comment yet.