pub fn rewrite_args(args: Vec<OsString>) -> Vec<OsString>
Expand description
Carry out some rewrites on the command-line arguments for uniformity.
For example, git-branchless-smartlog
becomes git-branchless smartlog
,
and the .exe
suffix is removed on Windows. These are necessary for later
command-line argument parsing.