Azure / Azure/azure-cli

az storage fs file list --num-results "*" raises error

Open
#20,393 3 comments 0 reactions 1 assignee Claimed by @evelyn-ys View on GitHub
act-codegen-extensibility-squad customer-reported feature-request Storage
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Describe the bug**

Bug similar to #8627

az storage fs file list --num-results "*" raises error
ERROR: argument --num-results: invalid int value: '\*'

"*" should be valid according to [the docs](https://docs.microsoft.com/en-us/cli/azure/storage/file?view=azure-cli-latest#az_storage_file_list)

**Expected behavior**

No error.

**Environment summary**

```bash
az --version
azure-cli 2.30.0

core 2.30.0
telemetry 1.0.6

Python location '/opt/az/bin/python3'
Extensions directory '/home/codas/.azure/cliextensions'

Python (Linux) 3.6.10 (default, Oct 29 2021, 10:11:34)
[GCC 9.3.0]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

Please let us know how we are doing: https://aka.ms/azureclihats
and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy

```

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.