summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-11-10 13:04:50 +0100
committerlassulus <lassulus@lassul.us>2022-11-10 13:04:50 +0100
commitd7e25ced8a15554e3afb2eb9b1800de271efbd87 (patch)
tree993d19747179700e746aa88661b65cd49fb9bf10
parent90178d4391643e349565cb953d5f6e212ad6061d (diff)
disko: add --debug
-rwxr-xr-xdisko5
1 files changed, 5 insertions, 0 deletions
diff --git a/disko b/disko
index 6cb869a..89926d8 100755
--- a/disko
+++ b/disko
@@ -30,6 +30,8 @@ Options:
pass value to nix-build as string
* --dry-run
just show the path to the script instead of running it
+* --debug
+ run with set -x
USAGE
}
@@ -47,6 +49,9 @@ abort() {
while [[ $# -gt 0 ]]; do
case "$1" in
+ --debug)
+ set -x
+ ;;
-m | --mode)
mode=$2
shift