diff options
Diffstat (limited to 'dvm')
| -rwxr-xr-x | dvm | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -16,6 +16,8 @@ # VM powers off. Environment: DVM_MEM (4G), DVM_CPUS (4), DVM_DISK (20G), # DVM_MIC=1 to give the VM the host microphone, DVM_NOTIFY=0 to skip # desktop notifications when VMs start and stop. +# +# SPDX-License-Identifier: MIT set -euo pipefail DATA=${DVM_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/dvm} @@ -419,6 +421,6 @@ case ${1:-} in template) shift; cmd_template "$@" ;; update) shift; cmd_update ;; run) shift; cmd_run "$@" ;; - -h|--help) sed -n '2,/^set -e/{/^#/s/^# \{0,1\}//p}' "$0" ;; + -h|--help) sed -n '2,/^set -e/{/SPDX/d;/^#/s/^# \{0,1\}//p}' "$0" ;; *) cmd_run "$@" ;; esac |