Skip to content

Commit

Permalink
Fix long opts for nockma encode from/to (#3177)
Browse files Browse the repository at this point in the history
The `from` and `to` long options for `juvix dev nockma encode` were
mislabelled. `from` should be the source encoding and `to` should be the
target encoding.
  • Loading branch information
paulcadman authored Nov 15, 2024
1 parent 5f803ec commit dc2d268
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Commands/Dev/Nockma/Encode/Options.hs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ parseNockmaEncodeOptions = do
_nockmaEncodeFrom <-
option
(enumReader Proxy)
( long "to"
( long "from"
<> metavar "ENCODING"
<> completer (enumCompleter @EncodeType Proxy)
<> helpDoc
Expand All @@ -61,7 +61,7 @@ parseNockmaEncodeOptions = do
_nockmaEncodeTo <-
option
(enumReader Proxy)
( long "from"
( long "to"
<> metavar "ENCODING"
<> completer (enumCompleter @EncodeType Proxy)
<> helpDoc
Expand Down

0 comments on commit dc2d268

Please sign in to comment.