diff options
author | Micael Karlberg <[email protected]> | 2018-09-17 15:23:05 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2018-09-17 15:23:05 +0200 |
commit | fd3d7e7ce693bb960b85b3ea09429adb30145e49 (patch) | |
tree | c21f97277a63b6c81456a917b61f6abcefaf3d5a /lib/snmp/src | |
parent | b91036d475c2499ffa6dcf5714e0e155d05b43a4 (diff) | |
parent | f5eafaca46bb254e068a2c6deb72267c8be72337 (diff) | |
download | otp-fd3d7e7ce693bb960b85b3ea09429adb30145e49.tar.gz otp-fd3d7e7ce693bb960b85b3ea09429adb30145e49.tar.bz2 otp-fd3d7e7ce693bb960b85b3ea09429adb30145e49.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/snmp/src')
-rw-r--r-- | lib/snmp/src/compile/snmpc.erl | 6 |
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 |