summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2015-06-28 15:26:31 +0200
committerMatthias Beyer <mail@beyermatthias.de>2015-09-07 16:11:45 +0200
commit2b7289deab6a079db13540b8cb7899b230777e51 (patch)
tree7eddbf809970c44b646f065e83e697d20a689ac6
parentc825fa1af583ee90f3b94b99d744ab0e248905e4 (diff)
Fix: Use caller util in main
-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