aboutsummaryrefslogtreecommitdiffstats
path: root/lib/edoc/src/edoc_run.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2013-02-19 14:21:28 +0100
committerHans Bolinder <[email protected]>2013-02-19 14:31:52 +0100
commitd36e25df20fe0bf7490bae57de17fc882b10a25c (patch)
tree4a65c850b48de2e5b7d5406a616d2b22be941699 /lib/edoc/src/edoc_run.erl
parente6613acf5a29c882d4673c6a8371e03523f9590c (diff)
downloadotp-d36e25df20fe0bf7490bae57de17fc882b10a25c.tar.gz
otp-d36e25df20fe0bf7490bae57de17fc882b10a25c.tar.bz2
otp-d36e25df20fe0bf7490bae57de17fc882b10a25c.zip
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.