diff --git a/dk b/dk index c69c817..632786f 100755 --- a/dk +++ b/dk @@ -247,6 +247,9 @@ parse_args "$@"; set -- "${args[@]}" [ -n "$chdir" ] && { cd "$chdir" || die; } +# construire par défaut +[ $# -eq 0 ] && set -- build + while [ $# -gt 0 ]; do [ "$1" == -- ] && { shift; continue; } cmd="$1"; shift