users pagination parameters are incorrectly named #2

Closed
gdean123 opened this Issue Jul 5, 2013 · 3 comments

4 participants

@gdean123

The help says that the count parameter specifies the number per page:

users [filter] List user accounts
-a | --attributes , output for each user
--start , start of output page
--count , max number per page

It actually appears to refer to the end index. The following command line returns 2 items instead of 1185:

uaac users -a emails --start 1184 --count 1185

@jfoley

@kimahoff Is this tool on the doc team radar at all?

Thanks,
CF Community Pair (@jfoley & @jtuchscherer)

@kimahoff
Cloud Foundry member

Yes, thanks for checking. We mention it here: http://docs.cloudfoundry.org/concepts/architecture/uaa.html

@adamstegman

Seems like this is working now as expected. With three users, running this command:
uaac users -a emails --start 2 --count 2
return two results. According to the bug report (at least as we understand it), we would expect one result. Hence, we assume it has been fixed.

CF Community Pair (@adamstegman & @jtuchscherer )

@adamstegman adamstegman closed this May 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment