Skip to content

Commit

Permalink
fix: the manpage says 'read-git-colors'
Browse files Browse the repository at this point in the history
The manpage says the option is called 'read-git-colors', but the code looks for
'use-git-colors'. Fix the code to look for what is described in the manpage.
  • Loading branch information
esc committed Aug 18, 2012
1 parent 6d276a6 commit 0431cd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tig.c
Expand Up @@ -1516,7 +1516,7 @@ option_set_command(int argc, const char *argv[])
if (!strcmp(argv[0], "status-untracked-dirs"))
return parse_bool(&opt_untracked_dirs_content, argv[2]);

if (!strcmp(argv[0], "use-git-colors"))
if (!strcmp(argv[0], "read-git-colors"))
return parse_bool(&opt_read_git_colors, argv[2]);

if (!strcmp(argv[0], "ignore-case"))
Expand Down

0 comments on commit 0431cd2

Please sign in to comment.