diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2015-07-12 19:07:03 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2015-07-15 21:56:16 +0200 |
commit | 55fbaf548e63ce40df51957163c7215e397eb1be (patch) | |
tree | f1114458ed11afc4635f909a35b74d73aeb8c7fd /nix-script | |
parent | 724f683055ecf224bbe66bdc4dfacf1938ad90a1 (diff) |
Add debugging flag in main file
Diffstat (limited to 'nix-script')
-rwxr-xr-x | nix-script | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -6,6 +6,7 @@ usage() { -l | --list-commands List all available commands -v Be verbose + -d Debugging output (enables -v) -h Show this help and exit $(help_end) @@ -76,6 +77,13 @@ do shift_one_more ;; + "-d") + export VERBOSE=1 + export DEBUG=1 + stdout "Debugging enabled. Implicitely turned on verbosity" + shift_one_more + ;; + "-h" ) usage exit 1 |