summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xnix-script5
1 files changed, 1 insertions, 4 deletions
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