Skip to content

Commit 6ddba28

Browse files
committed
nit doc
1 parent 0c4c560 commit 6ddba28

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/hub/cli.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ const commands = {
126126
name: "repo-type" as const,
127127
enum: ["dataset", "model", "space"],
128128
description:
129-
"The type of repo to create. Defaults to model. You can also prefix the repo name with the type, e.g. datasets/username/repo-name",
129+
"The type of of the repo to create the branch into. Defaults to model. You can also prefix the repo name with the type, e.g. datasets/username/repo-name",
130130
},
131131
{
132132
name: "revision" as const,
@@ -193,15 +193,15 @@ const commands = {
193193
{
194194
name: "repo-name" as const,
195195
description:
196-
"The full ID of the repo to delete (e.g., 'username/my-model', 'datasets/username/my-data', or 'spaces/username/my-space')",
196+
"The name of the repo to delete. You can also prefix the repo name with the type, e.g. datasets/username/repo-name",
197197
positional: true,
198198
required: true,
199199
},
200200
{
201201
name: "repo-type" as const,
202202
enum: ["dataset", "model", "space"],
203203
description:
204-
"The type of repo. If the repo-name is prefixed (e.g. 'datasets/my-dataset'), the type is inferred. This option can be used to override or specify the type if the name is not prefixed.",
204+
"The type of the repo to delete. Defaults to model. You can also prefix the repo name with the type, e.g. datasets/username/repo-name",
205205
},
206206
{
207207
name: "token" as const,

0 commit comments

Comments
 (0)