Merge pull request #252323 from microsoft/tyriar/252314

Update fig specs
This commit is contained in:
Daniel Imms
2025-06-25 07:22:18 -07:00
committed by GitHub
3 changed files with 8 additions and 9 deletions
@@ -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',
];