pub fn upgrade_line(
version: &str,
target: &UpgradeTarget,
confirmed: bool,
) -> StringExpand description
The path goes last: it can hold spaces. confirmed adds confirmed:1 after the version: the restart is
already decided, so the launcher asks nothing more (UpgradeRequest::confirmed).