got info: fix a pasto in an error message
diff --git a/got/got.c b/got/got.c
index 9a5559d..ec8ca38 100644
--- a/got/got.c
+++ b/got/got.c
@@ -10129,7 +10129,7 @@ cmd_info(int argc, char *argv[])
error = got_worktree_open(&worktree, cwd);
if (error) {
if (error->code == GOT_ERR_NOT_WORKTREE)
- error = wrap_not_worktree_error(error, "status", cwd);
+ error = wrap_not_worktree_error(error, "info", cwd);
goto done;
}