aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/plumber
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/plumber')
-rwxr-xr-x.local/bin/plumber5
1 files changed, 1 insertions, 4 deletions
diff --git a/.local/bin/plumber b/.local/bin/plumber
index 99cc7f3..beb0dc6 100755
--- a/.local/bin/plumber
+++ b/.local/bin/plumber
@@ -44,10 +44,7 @@ defmodule ArgParser do
TextPlumber.singleLineOf(opts[:text]) |> IO.binwrite()
opts[:option] == options[:title_case] ->
- TextPlumber.titleCaseOf(opts[:text]) |> IO.binwrite()
-
- opts[:option] == options[:title_case] ->
- TextPlumber.titleCaseOf(opts[:text]) |> IO.binwrite()
+ TextPlumber.lowerCaseOf(opts[:text]) |> TextPlumber.titleCaseOf() |> IO.binwrite()
opts[:option] == options[:slug_text] ->
TextPlumber.lowerCaseOf(opts[:text]) |> TextPlumber.slugOf() |> IO.binwrite()