diff options
author | Hans Bolinder <[email protected]> | 2017-06-09 10:31:25 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2017-06-09 10:31:25 +0200 |
commit | ade1f603991d416b7fcec0144be7b4b889ab2999 (patch) | |
tree | c86f963306af389f72d8d4e0e85daaf29300cdb7 /lib/stdlib/src | |
parent | 4babf1a1215fb8ac315ed3a87a7c2fa396e140c3 (diff) | |
download | otp-ade1f603991d416b7fcec0144be7b4b889ab2999.tar.gz otp-ade1f603991d416b7fcec0144be7b4b889ab2999.tar.bz2 otp-ade1f603991d416b7fcec0144be7b4b889ab2999.zip |
stdlib: Handle unknown compiler options with Unicode
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r-- | lib/stdlib/src/erl_compile.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/src/erl_compile.erl b/lib/stdlib/src/erl_compile.erl index 76db2eeacd..18d7548fdc 100644 --- a/lib/stdlib/src/erl_compile.erl +++ b/lib/stdlib/src/erl_compile.erl @@ -181,7 +181,7 @@ parse_generic_option("P", T, #options{specific=Spec}=Opts) -> parse_generic_option("S", T, #options{specific=Spec}=Opts) -> compile1(T, Opts#options{specific=['S'|Spec]}); parse_generic_option(Option, _T, _Opts) -> - io:format(?STDERR, "Unknown option: -~s\n", [Option]), + io:format(?STDERR, "Unknown option: -~ts\n", [Option]), usage(). parse_dep_option("", T) -> @@ -202,7 +202,7 @@ parse_dep_option("T"++Opt, T0) -> {Target,T} = get_option("MT", Opt, T0), {[{makedep_target,Target}],T}; parse_dep_option(Opt, _T) -> - io:format(?STDERR, "Unknown option: -M~s\n", [Opt]), + io:format(?STDERR, "Unknown option: -M~ts\n", [Opt]), usage(). usage() -> |