summaryrefslogtreecommitdiff
path: root/builtin/column.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/column.c')
-rw-r--r--builtin/column.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/column.c b/builtin/column.c
index e125a55..449413c 100644
--- a/builtin/column.c
+++ b/builtin/column.c
@@ -6,7 +6,7 @@
#include "column.h"
static const char * const builtin_column_usage[] = {
- N_("git column [options]"),
+ N_("git column [<options>]"),
NULL
};
static unsigned int colopts;
@@ -34,7 +34,7 @@ int cmd_column(int argc, const char **argv, const char *prefix)
};
/* This one is special and must be the first one */
- if (argc > 1 && !prefixcmp(argv[1], "--command=")) {
+ if (argc > 1 && starts_with(argv[1], "--command=")) {
command = argv[1] + 10;
git_config(column_config, (void *)command);
} else