diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2015-07-12 19:12:47 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2015-07-15 22:02:31 +0200 |
commit | 3b3900e1ead3e77bd5bd930e5b1b5b64eff3113d (patch) | |
tree | ced0951418e56c776cabfa61469e81ec620148b4 /nix-script-switch.sh | |
parent | b18b573ff04250c76bd5027b2a197d08cf42fe6d (diff) |
Change user irrelevant outputs to dbg output
Diffstat (limited to 'nix-script-switch.sh')
-rwxr-xr-x | nix-script-switch.sh | 10 |
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." && \ |