Skip to content

Commit

Permalink
feat: deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed May 18, 2022
1 parent e6075f7 commit aa45f66
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/commands/force/user/display.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<UserDisplayResult> {
this.logger = await Logger.child(this.constructor.name);
Expand Down

0 comments on commit aa45f66

Please sign in to comment.