Skip to content

Commit e49c8f3

Browse files
Philip Oakleyjrn
authored andcommitted
remote set-head -h: add long options to synopsis
Document --auto and --delete alongside their short forms -a and -d in the first line of 'git remote set-head -h' output. Signed-off-by: Philip Oakley <[email protected]> Signed-off-by: Jonathan Nieder <[email protected]>
1 parent 159543e commit e49c8f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builtin/remote.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ static const char * const builtin_remote_usage[] = {
1212
N_("git remote add [-t <branch>] [-m <master>] [-f] [--tags|--no-tags] [--mirror=<fetch|push>] <name> <url>"),
1313
N_("git remote rename <old> <new>"),
1414
N_("git remote remove <name>"),
15-
N_("git remote set-head <name> (-a | -d | <branch>)"),
15+
N_("git remote set-head <name> (-a | --auto | -d | --delete |<branch>)"),
1616
N_("git remote [-v | --verbose] show [-n] <name>"),
1717
N_("git remote prune [-n | --dry-run] <name>"),
1818
N_("git remote [-v | --verbose] update [-p | --prune] [(<group> | <remote>)...]"),
@@ -39,7 +39,7 @@ static const char * const builtin_remote_rm_usage[] = {
3939
};
4040

4141
static const char * const builtin_remote_sethead_usage[] = {
42-
N_("git remote set-head <name> (-a | -d | <branch>)"),
42+
N_("git remote set-head <name> (-a | --auto | -d | --delete | <branch>)"),
4343
NULL
4444
};
4545

0 commit comments

Comments
 (0)