"sf package version create list -c 0" does not filter results #2668
Labels
bug
Issue or pull request that identifies or fixes a bug
investigating
We're actively investigating this issue
validated
Version information for this issue has been validated
Yes
Yes
Yes
Yes
N/A
Summary
The documentation for
sf package version create list
describes the following flag:However, passing "0" to this flag does not filter the results as described. In fact, it returns all results.
Steps To Reproduce
Repo provided, but issue is independent of code.
https://github.com/chris-duncan-adaptiva/dreamhouse-2668
cd
into folder.sf package version create list -c 0
Expected result
Returns table which only includes second package version create request since it was created today.
Actual result
Returns table which includes both package version create requests.
System Information
bash, pwsh
sf version --verbose --json
Additional information
--created-last-days
flag and-c
shorthand flag.sf
plugin version 2.1.1 and latest version on npm 2.1.3sf data query -t -o <DevHubAlias> --query 'SELECT Id FROM Package2VersionCreateRequest WHERE CreatedDate = LAST_N_DAYS:0'
sf package version create list -c 1
= results from yesterday and todaysf package version create list -c -1
= "Error (1): Provide a valid positive number for createdlastdays."The text was updated successfully, but these errors were encountered: