aboutsummaryrefslogtreecommitdiffstats
path: root/lib/edoc/src/edoc_run.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2013-02-20 09:27:40 +0100
committerHans Bolinder <[email protected]>2013-02-20 09:27:40 +0100
commit7b8c2514f765d0769902ec828b7aedd075210ca9 (patch)
tree9bb10186e23fdb8ff988d162ac5bd31ab3baebe6 /lib/edoc/src/edoc_run.erl
parentebc66af659af6f33847e1603c5f2257d5379eaf4 (diff)
parentd36e25df20fe0bf7490bae57de17fc882b10a25c (diff)
downloadotp-7b8c2514f765d0769902ec828b7aedd075210ca9.tar.gz
otp-7b8c2514f765d0769902ec828b7aedd075210ca9.tar.bz2
otp-7b8c2514f765d0769902ec828b7aedd075210ca9.zip
Merge branch 'hb/stdlib/unicode_corrections/OTP-10820'
* hb/stdlib/unicode_corrections/OTP-10820: Use ~ts for filenames
Diffstat (limited to 'lib/edoc/src/edoc_run.erl')
-rw-r--r--lib/edoc/src/edoc_run.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/edoc/src/edoc_run.erl b/lib/edoc/src/edoc_run.erl
index 48b6137ac1..b5a1ef713d 100644
--- a/lib/edoc/src/edoc_run.erl
+++ b/lib/edoc/src/edoc_run.erl
@@ -162,7 +162,7 @@ file(Args) ->
-spec invalid_args(string(), list()) -> no_return().
invalid_args(Where, Args) ->
- report("invalid arguments to ~s: ~w.", [Where, Args]),
+ report("invalid arguments to ~ts: ~w.", [Where, Args]),
shutdown_error().
run(F) ->
@@ -213,13 +213,13 @@ parse_arg(A) ->
{ok, Expr} ->
case catch erl_parse:normalise(Expr) of
{'EXIT', _} ->
- report("bad argument: '~s':", [A]),
+ report("bad argument: '~ts':", [A]),
exit(error);
Term ->
Term
end;
{error, _, D} ->
- report("error parsing argument '~s'", [A]),
+ report("error parsing argument '~ts'", [A]),
error(D),
exit(error)
end.