For example, git and spring have interesting subcommands, and counting git commit is just as if not more interesting than counting just git.
Now users can provide --include-first-arg=git (and provide the option as many times as they want with different commands) and most-used will then count both git and git commit/git status/etc.
Note that there's still a count of the overall number of calls to plain git; the user will just additionally get a count of git + every subcommand.
For example,
git
andspring
have interesting subcommands, and countinggit commit
is just as if not more interesting than counting justgit
.Now users can provide
--include-first-arg=git
(and provide the option as many times as they want with different commands) and most-used will then count bothgit
andgit commit
/git status
/etc.Note that there's still a count of the overall number of calls to plain
git
; the user will just additionally get a count of git + every subcommand.