]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
freebsd-update: Don't provide copiable commands in output
authorMichael Osipov <michaelo@FreeBSD.org>
Tue, 30 Jan 2024 16:24:45 +0000 (17:24 +0100)
committerMichael Osipov <michaelo@FreeBSD.org>
Mon, 18 Mar 2024 09:33:42 +0000 (10:33 +0100)
commit59b02bb420e3b0a49af39f7817764ca444f7c793
tree3a5877b11def720cea61dcc74a137b645a386c1a
parent04473cfc4d07815cd286900327219dad45923dc2
freebsd-update: Don't provide copiable commands in output

Previously, freebsd-update provided ready-to-go commands for copying and
pasting into the terminal. This causes problems as soon as options are
used and not supplied again by the user, e.g., '-b' or '-d'.
Stop making them copiable and force the user to construct a valid command
line by himself to avoid failures.

PR: 276102
Approved by: jrm (mentor), emaste
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D43700
usr.sbin/freebsd-update/freebsd-update.sh