summaryrefslogtreecommitdiffstats
path: root/nix-script-switch.sh
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2015-07-12 19:12:47 +0200
committerMatthias Beyer <mail@beyermatthias.de>2015-07-15 22:02:31 +0200
commit3b3900e1ead3e77bd5bd930e5b1b5b64eff3113d (patch)
treeced0951418e56c776cabfa61469e81ec620148b4 /nix-script-switch.sh
parentb18b573ff04250c76bd5027b2a197d08cf42fe6d (diff)
Change user irrelevant outputs to dbg output
Diffstat (limited to 'nix-script-switch.sh')
-rwxr-xr-xnix-script-switch.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/nix-script-switch.sh b/nix-script-switch.sh
index 3c7491c..697d948 100755
--- a/nix-script-switch.sh
+++ b/nix-script-switch.sh
@@ -54,20 +54,20 @@ do
case $OPTION in
c)
COMMAND=$OPTARG
- stdout "COMMAND = $COMMAND"
+ dbg "COMMAND = $COMMAND"
;;
w)
WD=$OPTARG
- stdout "WD = $WD"
+ dbg "WD = $WD"
;;
t)
TAG_NAME=$OPTARG
- stdout "TAG_NAME = $TAG_NAME"
+ dbg "TAG_NAME = $TAG_NAME"
;;
n)
HOSTNAME=""
- stdout "HOSTNAME disabled"
+ dbg "HOSTNAME disabled"
;;
h)
@@ -78,7 +78,7 @@ do
done
ARGS=$(echo $* | sed -r 's/(.*)(\-\-(.*)|$)/\2/')
-stdout "ARGS = $ARGS"
+dbg "ARGS = $ARGS"
[[ -z "$WD" ]] && \
stderr "No configuration git directory." && \