pub fn warn_workspace_alias_used()Expand description
Emit a tracing::warn! line when the current process was invoked with
the deprecated --workspace spelling on a verb that now prefers
--pack. Each verb handler calls this at the top of its run/
execute entry point so the diagnostic fires regardless of which
dispatch path the operator took.
The check accepts both bare-flag form (--workspace /path) and
=-joined form (--workspace=/path) so it does not regress on the
less common but valid clap syntax. Unrelated args that happen to
embed the substring (e.g. a positional --workspace-something token)
do NOT trigger the warning because the match is anchored to the full
flag spelling.