Skip to content

Commit 5fb51e5

Browse files
committed
Fix error when trying to edit missing config
The hint to the create command was missing the "config" gommand group.
1 parent 32c1cb5 commit 5fb51e5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed the error message for `pulp config edit` to properly hint at `pulp config create`.

pulp_cli/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def edit(location: str) -> None:
287287
raise click.ClickException(
288288
_(
289289
"File '{location}' does not exists. If you wish to create the file, use the pulp "
290-
"create command."
290+
"config create command."
291291
).format(location=location)
292292
)
293293

0 commit comments

Comments
 (0)