mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-26 18:27:38 +01:00
Merge pull request #252323 from microsoft/tyriar/252314
Update fig specs
This commit is contained in:
@@ -4026,7 +4026,7 @@ const daemonServices: Fig.Suggestion[] = [
|
||||
|
||||
const completionSpec: Fig.Spec = {
|
||||
name: "git",
|
||||
description: "The stupid content tracker",
|
||||
description: "Distributed version control system",
|
||||
generateSpec: async (_, executeShellCommand) => {
|
||||
const { stdout } = await executeShellCommand({
|
||||
command: "git",
|
||||
|
||||
@@ -10,7 +10,7 @@ const completionSpec: Fig.Spec = {
|
||||
{
|
||||
name: ["-m", "--mode"],
|
||||
description: "Set file mode (as in chmod), not a=rwx - umask",
|
||||
args: { name: "MODE" },
|
||||
args: { name: "mode" },
|
||||
},
|
||||
{
|
||||
name: ["-p", "--parents"],
|
||||
@@ -22,9 +22,8 @@ const completionSpec: Fig.Spec = {
|
||||
},
|
||||
{
|
||||
name: ["-Z", "--context"],
|
||||
description:
|
||||
"Set the SELinux security context of each created directory to CTX",
|
||||
args: { name: "CTX" },
|
||||
description: "Set the SELinux security context of each created directory",
|
||||
args: { name: "context" },
|
||||
},
|
||||
{ name: "--help", description: "Display this help and exit" },
|
||||
{
|
||||
|
||||
@@ -8,14 +8,14 @@ import { testPaths, type ISuiteSpec } from '../../helpers';
|
||||
import mkdirSpec from '../../../completions/upstream/mkdir';
|
||||
|
||||
const allOptions = [
|
||||
'--context <CTX>',
|
||||
'--context <context>',
|
||||
'--help',
|
||||
'--mode <MODE>',
|
||||
'--mode <mode>',
|
||||
'--parents',
|
||||
'--verbose',
|
||||
'--version',
|
||||
'-Z <CTX>',
|
||||
'-m <MODE>',
|
||||
'-Z <context>',
|
||||
'-m <mode>',
|
||||
'-p',
|
||||
'-v',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user