We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 813f611 commit 16409b6Copy full SHA for 16409b6
lib/boombox/utils/cli.ex
@@ -25,7 +25,7 @@ defmodule Boombox.Utils.CLI do
25
vps: {:string, :binary},
26
whip: {:string, :string},
27
token: {:string, :string},
28
- enforce_transcoding: {:string, :atom}
+ enforce_transcoding: {:boolean, :boolean}
29
]
30
31
@spec parse_argv([String.t()]) ::
@@ -96,6 +96,9 @@ defmodule Boombox.Utils.CLI do
96
[{direction, true}, {endpoint, value} | opts] ->
97
{direction, {endpoint, value, translate_opts(opts)}}
98
99
+ [{direction, value} | opts] ->
100
+ {direction, value, translate_opts(opts)}
101
+
102
[{direction, value}] ->
103
{direction, value}
104
0 commit comments