Cli-microsoft365: Bug report: `--help` not displaying interactive help for alias commands

Created on 28 Oct 2020  路  2Comments  路  Source: pnp/cli-microsoft365

Description

When using the global --help option to return help for a specific command which has an alias, nothing is returned.

Steps to reproduce

Execute m365 teams user add --help

Expected result

Should return help from documentation, https://pnp.github.io/cli-microsoft365/cmd/aad/o365group/o365group-user-add/

Actual result

Nothing is returned

image

Environment

Ubuntu 20, WSL2, v3.2.0

bug work in progress

Most helpful comment

@waldekmastykarz I created a PR for this issue.

All 2 comments

This is a tricky one! teams user add is an alias and right now we're resolving the command's help from docs based on the command's name but not its alias. Good catch!

@waldekmastykarz I created a PR for this issue.

Was this page helpful?
0 / 5 - 0 ratings