Skip to content

help output#3485

Open
wonwuakpa-msft wants to merge 1 commit into
mainfrom
wendi/rootCmdHelp
Open

help output#3485
wonwuakpa-msft wants to merge 1 commit into
mainfrom
wendi/rootCmdHelp

Conversation

@wonwuakpa-msft

Copy link
Copy Markdown
Member

azcopy outputs help when run

image

(right terminal view is after the fix)

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates AzCopy’s root command behavior so that invoking azcopy with no subcommand prints the CLI help text instead of doing nothing, improving the default UX for new or accidental invocations.

Changes:

  • Update the root Cobra command’s RunE to call cmd.Help() when azcopy is run without a subcommand.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants