diff --git a/cmd/scw/testdata/test-all-usage-iam-user-update-password-usage.golden b/cmd/scw/testdata/test-all-usage-iam-user-update-password-usage.golden index d5d087a14..4e300e887 100644 --- a/cmd/scw/testdata/test-all-usage-iam-user-update-password-usage.golden +++ b/cmd/scw/testdata/test-all-usage-iam-user-update-password-usage.golden @@ -6,9 +6,8 @@ USAGE: scw iam user update-password [arg=value ...] ARGS: - user-id ID of the user to update - password The new password - [send-email] Whether or not to send an email alerting the user their password has changed + user-id ID of the user to update + password The new password FLAGS: -h, --help help for update-password diff --git a/cmd/scw/testdata/test-all-usage-jobs-run-list-usage.golden b/cmd/scw/testdata/test-all-usage-jobs-run-list-usage.golden index 08c0c7f43..1db2f96d7 100644 --- a/cmd/scw/testdata/test-all-usage-jobs-run-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-jobs-run-list-usage.golden @@ -9,6 +9,7 @@ ARGS: [order-by] (created_at_asc | created_at_desc) [job-definition-id] [project-id] + [state] (unknown_state | queued | scheduled | running | succeeded | failed | canceled | internal_error) [organization-id] [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw | all) diff --git a/docs/commands/iam.md b/docs/commands/iam.md index 6a5ad4885..fc3a219e0 100644 --- a/docs/commands/iam.md +++ b/docs/commands/iam.md @@ -1168,7 +1168,6 @@ scw iam user update-password [arg=value ...] |------|---|-------------| | user-id | Required | ID of the user to update | | password | Required | The new password | -| send-email | | Whether or not to send an email alerting the user their password has changed | diff --git a/docs/commands/jobs.md b/docs/commands/jobs.md index 77185571c..c50066c95 100644 --- a/docs/commands/jobs.md +++ b/docs/commands/jobs.md @@ -217,6 +217,7 @@ scw jobs run list [arg=value ...] | order-by | One of: `created_at_asc`, `created_at_desc` | | | job-definition-id | | | | project-id | | | +| state | One of: `unknown_state`, `queued`, `scheduled`, `running`, `succeeded`, `failed`, `canceled`, `internal_error` | | | organization-id | | | | region | Default: `fr-par`
One of: `fr-par`, `nl-ams`, `pl-waw`, `all` | Region to target. If none is passed will use default region from the config | diff --git a/internal/namespaces/rdb/v1/testdata/test-list-backup-simple.golden b/internal/namespaces/rdb/v1/testdata/test-list-backup-simple.golden index 09a53fbb8..c4e2b0d08 100644 --- a/internal/namespaces/rdb/v1/testdata/test-list-backup-simple.golden +++ b/internal/namespaces/rdb/v1/testdata/test-list-backup-simple.golden @@ -1,7 +1,7 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 🟩🟩🟩 STDOUT️ 🟩🟩🟩️ ID Name Database Name Size Status Instance ID URL Expired Is Exported Expires At Created At Updated At Region Same Region -4a7d57b2-f92b-4b13-86de-b56e47cad9f5 will_be_exported rdb 2.1 kB ready 8a25dbba-dac7-49bf-854c-5f1da6a545bc false true few seconds ago few seconds ago few seconds ago fr-par false +4a7d57b2-f92b-4b13-86de-b56e47cad9f5 will_be_exported rdb 2.1 kB ready 8a25dbba-dac7-49bf-854c-5f1da6a545bc true true few seconds ago few seconds ago few seconds ago fr-par false a929798a-28be-4717-b8a7-0c02c088160e will_not_be_exported rdb 2.1 kB ready 8a25dbba-dac7-49bf-854c-5f1da6a545bc true false few seconds ago few seconds ago few seconds ago fr-par false 🟩🟩🟩 JSON STDOUT 🟩🟩🟩 [ @@ -17,7 +17,7 @@ a929798a-28be-4717-b8a7-0c02c088160e will_not_be_exported rdb 2.1 k "updated_at": "1970-01-01T00:00:00.0Z", "instance_name": "cli-test", "is_exported": true, - "url_expired": false, + "url_expired": true, "region": "fr-par", "same_region": false },