aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/bin
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2013-09-23 09:08:14 +0200
committerAnders Svensson <[email protected]>2013-11-28 17:27:27 +0100
commita3fa81eafff105086cf3f0c942c5247686edac28 (patch)
tree04c532a4083340570f4366da32f2786d8d6a77d1 /lib/diameter/bin
parentc22a639edccb443792e600bdc4b7f0117f12c9de (diff)
downloadotp-a3fa81eafff105086cf3f0c942c5247686edac28.tar.gz
otp-a3fa81eafff105086cf3f0c942c5247686edac28.tar.bz2
otp-a3fa81eafff105086cf3f0c942c5247686edac28.zip
Remove last remnants of "spec"
Diffstat (limited to 'lib/diameter/bin')
-rwxr-xr-xlib/diameter/bin/diameterc10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/diameter/bin/diameterc b/lib/diameter/bin/diameterc
index 3bcfc59343..cae2bcedbe 100755
--- a/lib/diameter/bin/diameterc
+++ b/lib/diameter/bin/diameterc
@@ -74,10 +74,10 @@ gen(Args) ->
compile(#argv{file = File, options = Opts} = A) ->
try diameter_dict_util:parse({path, File}, Opts) of
- {ok, Spec} ->
- maybe_output(A, Spec, Opts, spec), %% the spec file
- maybe_output(A, Spec, Opts, erl), %% the erl file
- maybe_output(A, Spec, Opts, hrl), %% The hrl file
+ {ok, Dict} ->
+ maybe_output(A, Dict, Opts, dict), %% parsed dictionary
+ maybe_output(A, Dict, Opts, erl), %% the erl file
+ maybe_output(A, Dict, Opts, hrl), %% The hrl file
0;
{error, Reason} ->
error_msg(diameter_dict_util:format_error(Reason), []),
@@ -139,7 +139,7 @@ arg(["-H" | Args], #argv{output = Output} = A) ->
arg(["-d" | Args], #argv{options = Opts, output = Output} = A) ->
arg(Args, A#argv{options = [debug | Opts],
- output = [spec | Output]});
+ output = [dict | Output]});
arg([[$- = M, C, H | T] | Args], A) %% clustered options
when C /= $i, C /= $o, C /= $- ->