aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/compile/snmpc.erl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2018-09-17 15:19:17 +0200
committerMicael Karlberg <[email protected]>2018-09-17 15:19:17 +0200
commitf5eafaca46bb254e068a2c6deb72267c8be72337 (patch)
tree475911b2d0f86c744b3b46dd5b1b9ffc4b2e762c /lib/snmp/src/compile/snmpc.erl
parent82db62ab096cffd29c7afce6894eece14d5e1390 (diff)
parent0be0c1c0546479e9d8e95d233bbf945e35fc7567 (diff)
downloadotp-f5eafaca46bb254e068a2c6deb72267c8be72337.tar.gz
otp-f5eafaca46bb254e068a2c6deb72267c8be72337.tar.bz2
otp-f5eafaca46bb254e068a2c6deb72267c8be72337.zip
Merge branch 'bmk/snmp/20180910/compiler_version_printout/OTP-15290' into maint
Diffstat (limited to 'lib/snmp/src/compile/snmpc.erl')
-rw-r--r--lib/snmp/src/compile/snmpc.erl6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/snmp/src/compile/snmpc.erl b/lib/snmp/src/compile/snmpc.erl
index 7f627d66d9..c810bfcd41 100644
--- a/lib/snmp/src/compile/snmpc.erl
+++ b/lib/snmp/src/compile/snmpc.erl
@@ -169,11 +169,7 @@ get_version() ->
MI = ?MODULE:module_info(),
Attr = get_info(attributes, MI),
Vsn = get_info(app_vsn, Attr),
- Comp = get_info(compile, MI),
- Time = get_info(time, Comp),
- {Year, Month, Day, Hour, Min, Sec} = Time,
- io_lib:format("~s [~.4w-~.2.0w-~.2.0w ~.2.0w:~.2.0w:~.2.0w]",
- [Vsn, Year, Month, Day, Hour, Min, Sec]).
+ Vsn.
maybe_display_options(Opts) ->
case lists:member(options, Opts) of