summary refs log tree commit diff
path: root/dvm
diff options
context:
space:
mode:
Diffstat (limited to 'dvm')
-rwxr-xr-xdvm4
1 files changed, 3 insertions, 1 deletions
diff --git a/dvm b/dvm
index b0cfe3c..ae04146 100755
--- a/dvm
+++ b/dvm
@@ -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