3 #include "parse-options.h"
5 static const char * const update_server_info_usage
[] = {
6 N_("git update-server-info [--force]"),
10 int cmd_update_server_info(int argc
, const char **argv
, const char *prefix
)
13 struct option options
[] = {
14 OPT__FORCE(&force
, N_("update the info files from scratch")),
18 git_config(git_default_config
, NULL
);
19 argc
= parse_options(argc
, argv
, prefix
, options
,
20 update_server_info_usage
, 0);
22 usage_with_options(update_server_info_usage
, options
);
24 return !!update_server_info(force
);