Skip to content

Commit 4824edd

Browse files
committed
vmupdate: rename --quiet to --silent to avoid name collision
QubesOS/qubes-issues#10543 (comment)
1 parent a7074f9 commit 4824edd

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

dom0-updates/qubes-dom0-update

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ if [ "$1" = "--help" ]; then
2828
echo " --force-xen-upgrade force major Xen upgrade even if some qubes are running"
2929
echo " --console does nothing; ignored for backward compatibility"
3030
echo " --show-output does nothing; ignored for backward compatibility"
31-
echo " --quiet do not print anything to stdout"
31+
echo " --silent do not print anything to stdout"
3232
echo " --preserve-terminal does nothing; ignored for backward compatibility"
3333
echo " --skip-boot-check does not check if /boot & /boot/efi should be mounted"
3434
echo " --switch-audio-server-to=(pulseaudio|pipewire) switch audio daemon to pipewire or pulseaudio"
@@ -81,7 +81,7 @@ while [ $# -gt 0 ]; do
8181
--show-output)
8282
# ignore
8383
;;
84-
--quiet)
84+
--silent)
8585
exec > /dev/null
8686
;;
8787
--just-print-progress)

vmupdate/update_manager.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,8 @@ def _run_agent(
425425
if agent_args.just_print_progress or self.show_progress:
426426
entrypoint.append("--just-print-progress")
427427
if agent_args.quiet:
428-
entrypoint.append("--quiet")
428+
# silent is equivalent to quiet for dom0-update
429+
entrypoint.append("--silent")
429430
else:
430431
this_dir = os.path.dirname(os.path.realpath(__file__))
431432
entrypoint = join(this_dir, UpdateAgentManager.ENTRYPOINT)

0 commit comments

Comments
 (0)