Browse Source

Ensures long form flags are in the description

main
Eric Amodio 5 years ago
parent
commit
990cabbd98
3 changed files with 4 additions and 4 deletions
  1. +2
    -2
      src/commands/git/cherry-pick.ts
  2. +1
    -1
      src/commands/git/fetch.ts
  3. +1
    -1
      src/commands/git/push.ts

+ 2
- 2
src/commands/git/cherry-pick.ts View File

@ -214,7 +214,7 @@ export class CherryPickGitCommand extends QuickCommandBase {
},
{
label: `${this.title} & Edit`,
description: `-e ${
description: `--edit ${
state.references!.length === 1
? state.references![0].name
: `${state.references!.length} commits`
@ -224,7 +224,7 @@ export class CherryPickGitCommand extends QuickCommandBase {
? `commit ${state.references![0].name}`
: `${state.references!.length} commits`
} onto ${destination.name}`,
item: ['-e']
item: ['--edit']
}
]
);

+ 1
- 1
src/commands/git/fetch.ts View File

@ -126,7 +126,7 @@ export class FetchGitCommand extends QuickCommandBase {
},
{
label: `${this.title} All & Prune`,
description: '--all',
description: '--all --prune',
detail: `Will fetch and prune all remotes of ${
state.repos.length === 1
? state.repos[0].formattedName

+ 1
- 1
src/commands/git/push.ts View File

@ -103,7 +103,7 @@ export class PushGitCommand extends QuickCommandBase {
},
{
label: `Force ${this.title}`,
description: '',
description: '--force',
detail: `Will force push ${
state.repos.length === 1
? state.repos[0].formattedName

Loading…
Cancel
Save