Azure / Azure/azure-cli

`az -h` does not display top-level flags such as `--version`

Open
#8,516 4 comments 0 reactions 1 assignee Assigned to @jiasli View on GitHub
Discussion Documentation feature-request
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Describe the bug**

The `az -h` output does not include some necessary help information, such as the `--version` flag, `--debug`, any level of `--verbose`, etc.

**To Reproduce**
`az -h`

**Expected behavior**
All available commands _and options_ for the `az` command are shown.

**Environment summary**
`az --version` (which I know about thanks to being familiar with CLI standard arguments): azure-cli (2.0.56)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.