Skip to content

Commit bb42ba9

Browse files
authored
Merge pull request #252323 from microsoft/tyriar/252314
Update fig specs
2 parents 01fc0c9 + 4996629 commit bb42ba9

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

extensions/terminal-suggest/src/completions/upstream/git.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4026,7 +4026,7 @@ const daemonServices: Fig.Suggestion[] = [
40264026

40274027
const completionSpec: Fig.Spec = {
40284028
name: "git",
4029-
description: "The stupid content tracker",
4029+
description: "Distributed version control system",
40304030
generateSpec: async (_, executeShellCommand) => {
40314031
const { stdout } = await executeShellCommand({
40324032
command: "git",

extensions/terminal-suggest/src/completions/upstream/mkdir.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const completionSpec: Fig.Spec = {
1010
{
1111
name: ["-m", "--mode"],
1212
description: "Set file mode (as in chmod), not a=rwx - umask",
13-
args: { name: "MODE" },
13+
args: { name: "mode" },
1414
},
1515
{
1616
name: ["-p", "--parents"],
@@ -22,9 +22,8 @@ const completionSpec: Fig.Spec = {
2222
},
2323
{
2424
name: ["-Z", "--context"],
25-
description:
26-
"Set the SELinux security context of each created directory to CTX",
27-
args: { name: "CTX" },
25+
description: "Set the SELinux security context of each created directory",
26+
args: { name: "context" },
2827
},
2928
{ name: "--help", description: "Display this help and exit" },
3029
{

extensions/terminal-suggest/src/test/completions/upstream/mkdir.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ import { testPaths, type ISuiteSpec } from '../../helpers';
88
import mkdirSpec from '../../../completions/upstream/mkdir';
99

1010
const allOptions = [
11-
'--context <CTX>',
11+
'--context <context>',
1212
'--help',
13-
'--mode <MODE>',
13+
'--mode <mode>',
1414
'--parents',
1515
'--verbose',
1616
'--version',
17-
'-Z <CTX>',
18-
'-m <MODE>',
17+
'-Z <context>',
18+
'-m <mode>',
1919
'-p',
2020
'-v',
2121
];

0 commit comments

Comments
 (0)