Skip to content

Commit 66c457b

Browse files
authored
Bugfix/trusted activities bulk create help text (#332)
* fix bulk create help text * changelog
1 parent 386f87f commit 66c457b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ how a consumer would use the library (e.g. adding unit tests, updating documenta
1010

1111
## Unreleased
1212

13+
### Fixed
14+
15+
- Incorrect column title on `code42 trusted-activities bulk create` command help text.
16+
1317
### Added
1418

1519
- New option `--include-roles` on `code42 users list` that includes the roles for all users.

src/code42cli/cmds/trustedactivities.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@ def bulk(state):
132132
@bulk.command(
133133
name="create",
134134
help="Bulk create trusted activities using a CSV file with "
135-
f"format: {','.join(TRUST_UPDATE_HEADERS)}.",
135+
f"format: {','.join(TRUST_CREATE_HEADERS)}.\b\n\n"
136+
f"Available `type` values are: {'|'.join(TrustedActivityType.choices())}",
136137
)
137138
@read_csv_arg(headers=TRUST_CREATE_HEADERS)
138139
@sdk_options()

0 commit comments

Comments
 (0)