commit - d70c3147e3d6f13debfe370fa231cb410154f282
commit + 8cfb4057347c76581c64b02802d4b9608bf56fd2
blob - aa4785ee303d42702c7d792697698e69b6b2f4cf
blob + f51f008b5b3b03543c35038f7bde5d42c0a6a637
--- got/got.c
+++ got/got.c
}
-struct cmd {
+struct got_cmd {
const char *cmd_name;
const struct got_error *(*cmd_main)(int, char *[]);
void (*cmd_usage)(void);
static const struct got_error* cmd_cherrypick(int, char *[]);
static const struct got_error* cmd_backout(int, char *[]);
-static struct cmd got_commands[] = {
+static struct got_cmd got_commands[] = {
{ "init", cmd_init, usage_init },
{ "checkout", cmd_checkout, usage_checkout },
{ "update", cmd_update, usage_update },
int
main(int argc, char *argv[])
{
- struct cmd *cmd;
+ struct got_cmd *cmd;
unsigned int i;
int ch;
int hflag = 0;