mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-15 17:33:49 +01:00
disko: add --debug
This commit is contained in:
parent
90178d4391
commit
d7e25ced8a
1 changed files with 5 additions and 0 deletions
5
disko
5
disko
|
|
@ -30,6 +30,8 @@ Options:
|
||||||
pass value to nix-build as string
|
pass value to nix-build as string
|
||||||
* --dry-run
|
* --dry-run
|
||||||
just show the path to the script instead of running it
|
just show the path to the script instead of running it
|
||||||
|
* --debug
|
||||||
|
run with set -x
|
||||||
USAGE
|
USAGE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -47,6 +49,9 @@ abort() {
|
||||||
|
|
||||||
while [[ $# -gt 0 ]]; do
|
while [[ $# -gt 0 ]]; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
|
--debug)
|
||||||
|
set -x
|
||||||
|
;;
|
||||||
-m | --mode)
|
-m | --mode)
|
||||||
mode=$2
|
mode=$2
|
||||||
shift
|
shift
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue