Skip to content

Bug report: spo lisitem list / page size option docs mismatch #4927

Description

@dojcsakj

Priority

(Low) Something is a little off

Description

m365 spo listitem list -h shows:

-p, --pageSize [pageSize]
Number of list items to return. Specify camlQuery or pageSize but not both. The default value is 5000.

But in fact short option for page size is: -s

Steps to reproduce

m365 spo listitem list -u <> -t <> -p 1

Expected results

Return only one list item

Actual results

Returns all list items

Diagnostics

No response

CLI for Microsoft 365 version

v6.7.0

nodejs version

v19.4.0

Operating system (environment)

Linux

Shell

bash

cli doctor

No response

Additional Info

It should work according help page or the help should be changed.

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions