From 2a5cd739193e92af88e60f6791dc808ba5cfe7f2 Mon Sep 17 00:00:00 2001 From: Marcus Kruse Date: Mon, 26 Sep 2022 07:32:41 +0200 Subject: [PATCH] Update lib/knigge/options.ex Co-authored-by: Sascha Wolf --- lib/knigge/options.ex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/knigge/options.ex b/lib/knigge/options.ex index 7c9f66e..21815d0 100644 --- a/lib/knigge/options.ex +++ b/lib/knigge/options.ex @@ -365,6 +365,8 @@ defmodule Knigge.Options do :keyword -> "keyword list" + # For now we explicitly match on the "or" option, as soon as we add further + # "or"ed options this ought to be refactored to something more general purpose [:atom, {:list_of, :atom}] -> "atom or list of atoms"