diff --git a/docs/balena-cli.md b/docs/balena-cli.md index c4ac3b84..42e316ca 100644 --- a/docs/balena-cli.md +++ b/docs/balena-cli.md @@ -1655,7 +1655,7 @@ fleet name or slug (preferred) ### Aliases -- `notes` +- `notes` *(deprecated)* To use one of the aliases, replace `device note` with the alias. diff --git a/src/commands/device/note.ts b/src/commands/device/note.ts index 5be144c8..3e0b3f83 100644 --- a/src/commands/device/note.ts +++ b/src/commands/device/note.ts @@ -22,6 +22,7 @@ import { getBalenaSdk, stripIndent } from '../../utils/lazy'; export default class DeviceNoteCmd extends Command { public static aliases = ['notes']; + public static deprecateAliases = true; public static description = stripIndent` Set a device note.