cmd/tailscale/cli: remove advertise command (#16592)

This commit removes the advertise command for service. The advertising is now embedded into
serve command and unadvertising is moved to drain subcommand

Fixes tailscale/corp#22954

Signed-off-by: KevinLiang10 <37811973+KevinLiang10@users.noreply.github.com>
This commit is contained in:
KevinLiang10
2025-07-18 15:06:09 -04:00
committed by GitHub
parent e01618a7c4
commit 5adde9e3f3
3 changed files with 1 additions and 78 deletions
+1 -1
View File
@@ -964,7 +964,7 @@ func TestPrefFlagMapping(t *testing.T) {
// flag for this.
continue
case "AdvertiseServices":
// Handled by the tailscale advertise subcommand, we don't want a
// Handled by the tailscale serve subcommand, we don't want a
// CLI flag for this.
continue
case "InternalExitNodePrior":