diff options
author | Tuncer Ayaz <[email protected]> | 2011-10-05 16:47:21 +0200 |
---|---|---|
committer | Tuncer Ayaz <[email protected]> | 2011-10-18 17:34:10 +0200 |
commit | 156b2ed537d26205fb152cea16347cd8b683e851 (patch) | |
tree | b767a5dde92ec9f113eab1a043828fa60edd79bd | |
parent | 02ec67177b2f5d2de371362e5bb3c9b9771fb0b8 (diff) | |
download | otp-156b2ed537d26205fb152cea16347cd8b683e851.tar.gz otp-156b2ed537d26205fb152cea16347cd8b683e851.tar.bz2 otp-156b2ed537d26205fb152cea16347cd8b683e851.zip |
snmpc: fix --warnings/--W option parsing
-rw-r--r-- | lib/snmp/src/compile/snmpc.src | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/snmp/src/compile/snmpc.src b/lib/snmp/src/compile/snmpc.src index f993335b89..3d8015f0cd 100644 --- a/lib/snmp/src/compile/snmpc.src +++ b/lib/snmp/src/compile/snmpc.src @@ -234,7 +234,7 @@ process_args(["--verbosity", Verbosity0|Args], #state{verbosity = V} = State) process_args(["--verbosity"|_Args], #state{verbosity = V}) when (V =/= undefined) -> e(lists:flatten(io_lib:format("Verbosity already set to ~w", [V]))); -process_args(["--w"|Args], State) -> +process_args(["--W"|Args], State) -> process_args(Args, State#state{warnings = true}); process_args(["--warnings"|Args], State) -> process_args(Args, State#state{warnings = true}); |