summaryrefslogtreecommitdiffstats
path: root/lass/5pkgs/fzfmenu
diff options
context:
space:
mode:
Diffstat (limited to 'lass/5pkgs/fzfmenu')
-rw-r--r--lass/5pkgs/fzfmenu/default.nix14
1 files changed, 13 insertions, 1 deletions
diff --git a/lass/5pkgs/fzfmenu/default.nix b/lass/5pkgs/fzfmenu/default.nix
index 6b5899359..905a5ce6b 100644
--- a/lass/5pkgs/fzfmenu/default.nix
+++ b/lass/5pkgs/fzfmenu/default.nix
@@ -12,8 +12,20 @@ pkgs.writeDashBin "fzfmenu" ''
shift
break
;;
+ -l)
+ # no reason to filter number of lines
+ LINES="$2"
+ shift
+ shift
+ break
+ ;;
+ -i)
+ # we do this anyway
+ shift
+ break
+ ;;
*)
- echo "Unknown option $1"
+ echo "Unknown option $1" >&2
shift
;;
esac