mirror of
https://github.com/RubyMetric/chsrc.git
synced 2025-01-22 20:44:01 +08:00
Use utf-8 on Windows
This commit is contained in:
parent
5729517002
commit
dfb93c58dd
4
chsrc.c
4
chsrc.c
|
@ -107,7 +107,7 @@ static const char const
|
|||
pl_ruby, pl_python, pl_nodejs, pl_perl, pl_php, pl_cran,
|
||||
pl_rust, pl_go, pl_dotnet, pl_maven, pl_gradle, pl_julia
|
||||
};
|
||||
#undef arg
|
||||
#undef cmdfunc
|
||||
|
||||
static const char const*
|
||||
usage[] = {
|
||||
|
@ -145,6 +145,8 @@ print_help ()
|
|||
int
|
||||
main (int argc, char const *argv[])
|
||||
{
|
||||
xy_useutf8();
|
||||
|
||||
// 未提供参数时
|
||||
if (argc<=1) {
|
||||
print_help(); return 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user