diff options
author | Eduardo Julian | 2021-08-13 04:18:57 -0400 |
---|---|---|
committer | Eduardo Julian | 2021-08-13 04:18:57 -0400 |
commit | e53c1a090eb9cfac3cb23d10d981648d02518ed1 (patch) | |
tree | 6c92c186525b6e73032ebea68765b791bcc27516 /licentia/source/program | |
parent | 17629d66062b88b040a2397032f6c08361a5f3a7 (diff) |
Made program: specify its bindings the same way as syntax:.
Diffstat (limited to 'licentia/source/program')
-rw-r--r-- | licentia/source/program/licentia.lux | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/licentia/source/program/licentia.lux b/licentia/source/program/licentia.lux index e421fe344..50fb066e9 100644 --- a/licentia/source/program/licentia.lux +++ b/licentia/source/program/licentia.lux @@ -57,11 +57,11 @@ (format "Your license has been made!" text.new_line "Check the file " output ".")) -(program: [{input (<| (<cli>.named "--input") - <cli>.any)} - {output (<| (parser.default ..default_output_file) - (<cli>.named "--output") - <cli>.any)}] +(program: [input (<| (<cli>.named "--input") + <cli>.any) + output (<| (parser.default ..default_output_file) + (<cli>.named "--output") + <cli>.any)] (do io.monad [?done (: (IO (Try Any)) (do (try.with io.monad) |