Squash a warning

This commit is contained in:
Michael Klishin 2019-04-10 15:22:38 +03:00
parent d2549de22e
commit 9cb776c98e
2 changed files with 2 additions and 3 deletions

View File

@ -14,8 +14,7 @@
## Copyright (c) 2007-2019 Pivotal Software, Inc. All rights reserved.
defmodule RabbitMQ.CLI.Ctl.Commands.StatusCommand do
alias RabbitMQ.CLI.Core.{DocGuide}
import RabbitMQ.CLI.Core.Platform, only: [os_name: 1]
alias RabbitMQ.CLI.Core.DocGuide
@behaviour RabbitMQ.CLI.CommandBehaviour

View File

@ -34,7 +34,7 @@ defmodule ArgsProcessingTest do
|> Map.values
end
defp line_filter([option, description]) do
defp line_filter([_, description]) do
Regex.match?(~r/must be one of/, description)
end
defp line_filter(line) do