From aa45f6689dd786d284f6c8651f1a219d46dd1d95 Mon Sep 17 00:00:00 2001 From: mshanemc Date: Wed, 18 May 2022 08:27:23 -0500 Subject: [PATCH] feat: deprecation warning --- src/commands/force/user/display.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/commands/force/user/display.ts b/src/commands/force/user/display.ts index 58bcf856..7456d217 100644 --- a/src/commands/force/user/display.ts +++ b/src/commands/force/user/display.ts @@ -30,6 +30,9 @@ export class UserDisplayCommand extends SfdxCommand { public static readonly examples = messages.getMessage('examples').split(os.EOL); public static readonly requiresUsername = true; public static readonly supportsDevhubUsername = true; + public static readonly deprecated = { + messageOverride: 'The --targetdevhubusername flag is deprecated and will be removed in v57 or later.', + }; public async run(): Promise { this.logger = await Logger.child(this.constructor.name);