]> git.lizzy.rs Git - rust.git/commit
Use argv[0] for usage output
authorSteven Fackler <sfackler@gmail.com>
Fri, 20 Nov 2015 01:56:37 +0000 (17:56 -0800)
committerSteven Fackler <sfackler@gmail.com>
Fri, 20 Nov 2015 01:56:37 +0000 (17:56 -0800)
commitd7b331bea79361642e016b61ba2cd174410d450b
tree09cf3b762867c68e8b2b5112b2ae8774bf501e63
parentf09aa85798232d294fdb266a6f1f27995dad2be3
Use argv[0] for usage output

Usage messages traditionally use this as it contains the path that the
user provided to run the executable (e.g. `rustfmt` instead of
`/usr/local/bin/rustfmt`).
src/bin/rustfmt.rs