Skip to content

Bug report: Double new line between command-specific options and global options #6071

@milanholemans

Description

@milanholemans

Priority

(Low) Something is a little off

Description

When printing help, there is an empty line between the command-specific options and the global options.
This only happens in the production build and not in the local dev build.

image

image-1

Steps to reproduce

Use the production build from NPM and run any command with --help

Expected results

Just like the local dev build, all options should be listed with only 1 new line between them.

Actual results

Double new line between command-specific options and global options.

Diagnostics

No response

CLI for Microsoft 365 version

v7.9.0

nodejs version

v20.10.0

Operating system (environment)

Windows

Shell

PowerShell

cli doctor

No response

Additional Info

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions