From 7bb981bca6c1fabb7bdfe367a6b19042ca36afd7 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Mon, 16 Sep 2019 00:56:37 +0200 Subject: Mostly implement nice completion for dhall A few bugs are still remainaing, but it can recognize when files should be completed for example. --- pkgs/profpatsch/dhallsh/Fish/Complete/toCommand.dhall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/profpatsch/dhallsh/Fish') 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) -- cgit 1.4.1