Skip to content

Commit

Permalink
Update is repeatable for some specs
Browse files Browse the repository at this point in the history
  • Loading branch information
sullivan-sean committed Aug 13, 2021
1 parent 5d2a689 commit 34872eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dev/curl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const completionSpec: Fig.Spec = {
description: "HTTP POST data",
insertValue: "-d '{cursor}'",
args: { name: "data" },
isRepeatable: true,
},
{ name: ["-q", "--disable"], description: "Disable .curlrc" },
{
Expand All @@ -57,6 +58,7 @@ const completionSpec: Fig.Spec = {
name: ["-F", "--form"],
description: "Specify multipart MIME data",
args: { name: "content" },
isRepeatable: true,
},
{
name: ["-P", "--ftp-port"],
Expand Down
2 changes: 2 additions & 0 deletions dev/ssh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ const completionSpec: Fig.Spec = {
{
name: ["-t"],
description: "Force pseudo-tty allocation.",
isRepeatable: true,
},
{
name: ["-V"],
Expand All @@ -341,6 +342,7 @@ const completionSpec: Fig.Spec = {
name: ["-v"],
description:
"Verbose mode. Causes ssh to print debugging messages about its progress.",
isRepeatable: 3,
},
{
name: ["-W"],
Expand Down

0 comments on commit 34872eb

Please sign in to comment.