about summary refs log tree commit diff
path: root/pkgs/profpatsch/dhallsh/Fish
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2019-09-16 00:56:37 +0200
committerProfpatsch <mail@profpatsch.de>2020-02-24 00:57:55 +0100
commit7bb981bca6c1fabb7bdfe367a6b19042ca36afd7 (patch)
treec874fd97aeab7e47d6ec66e0fbcc7d1db78f9794 /pkgs/profpatsch/dhallsh/Fish
parent0170d75092b4750ad03d9c606918cf659703e8d5 (diff)
Mostly implement nice completion for dhall
A few bugs are still remainaing, but it can recognize when files
should be completed for example.
Diffstat (limited to 'pkgs/profpatsch/dhallsh/Fish')
-rw-r--r--pkgs/profpatsch/dhallsh/Fish/Complete/toCommand.dhall2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/profpatsch/dhallsh/Fish/Complete/toCommand.dhall b/pkgs/profpatsch/dhallsh/Fish/Complete/toCommand.dhall
index f7453b65..67327b5f 100644
--- a/pkgs/profpatsch/dhallsh/Fish/Complete/toCommand.dhall
+++ b/pkgs/profpatsch/dhallsh/Fish/Complete/toCommand.dhall
@@ -43,7 +43,6 @@ in    λ(conditionOptionPrinter : OptionPrinter)
 
       let args =
               [ long "command" (Some c.cmd)
-              , long "description" (Some c.description)
               , Prelude.Optional.map
                 (Command Argument)
                 Argument
@@ -60,6 +59,7 @@ in    λ(conditionOptionPrinter : OptionPrinter)
               , flag "keep-order" c.keep-order
               , flag "no-files" c.no-files
               , flag "require-parameter" c.require-parameter
+              , long "description" (Some c.description)
               ]
             : List (Optional Argument)