diff --git a/docs/balena-cli.md b/docs/balena-cli.md index e1ec7c28..c4ac3b84 100644 --- a/docs/balena-cli.md +++ b/docs/balena-cli.md @@ -2126,7 +2126,7 @@ the uuid of the device to make track the fleet's release ### Aliases -- `tunnel` +- `tunnel` *(deprecated)* To use one of the aliases, replace `device tunnel` with the alias. diff --git a/src/commands/device/tunnel.ts b/src/commands/device/tunnel.ts index fc086853..a325d3f8 100644 --- a/src/commands/device/tunnel.ts +++ b/src/commands/device/tunnel.ts @@ -29,6 +29,7 @@ import type { Server, Socket } from 'net'; export default class DeviceTunnelCmd extends Command { public static aliases = ['tunnel']; + public static deprecateAliases = true; public static description = stripIndent` Tunnel local ports to your balenaOS device.