From 2b7289deab6a079db13540b8cb7899b230777e51 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 28 Jun 2015 15:26:31 +0200 Subject: Fix: Use caller util in main --- nix-script | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'nix-script') diff --git a/nix-script b/nix-script index 1e1b6db..3860f20 100755 --- a/nix-script +++ b/nix-script @@ -139,10 +139,7 @@ dbg "RC_NIXPKGS = '$RC_NIXPKGS'" if [ $LIST_COMMANDS -eq 1 ] then dbg "Listing commands" - for cmd in $(all_commands) - do - echo $(scriptname_to_command $cmd "nix-script") - done + caller_util_list_subcommands_for "nix-script" exit 0 fi -- cgit v1.2.3