makeWrapper: document --set-default

This commit is contained in:
Alyssa Ross 2018-08-24 14:02:36 +01:00 committed by Robin Gloster
parent 43eb8b9a93
commit f4745bef6c

View File

@ -11,15 +11,18 @@ assertExecutable() {
# makeWrapper EXECUTABLE ARGS # makeWrapper EXECUTABLE ARGS
# ARGS: # ARGS:
# --argv0 NAME : set name of executed process to NAME # --argv0 NAME : set name of executed process to NAME
# (otherwise its called …-wrapped) # (otherwise its called …-wrapped)
# --set VAR VAL : add VAR with value VAL to the executables environment # --set VAR VAL : add VAR with value VAL to the executables
# --unset VAR : remove VAR from the environment # environment
# --run COMMAND : run command before the executable # --set-default VAR VAL : like --set, but only adds VAR if not already set in
# The command can push extra flags to a magic list variable # the environment
# extraFlagsArray, which are then added to the invocation # --unset VAR : remove VAR from the environment
# of the executable # --run COMMAND : run command before the executable
# --add-flags FLAGS : add FLAGS to invocation of executable # The command can push extra flags to a magic list
# variable extraFlagsArray, which are then added to
# the invocation of the executable
# --add-flags FLAGS : add FLAGS to invocation of executable
# --prefix ENV SEP VAL : suffix/prefix ENV with VAL, separated by SEP # --prefix ENV SEP VAL : suffix/prefix ENV with VAL, separated by SEP
# --suffix # --suffix