From ae750f803d7d039bfe7fdd444b8daecb4550a46e Mon Sep 17 00:00:00 2001 From: Zach Musgrave Date: Mon, 1 Nov 2021 10:06:53 -0700 Subject: [PATCH] Fixed inadvertently changed param --- go/cmd/dolt/commands/read_tables.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/go/cmd/dolt/commands/read_tables.go b/go/cmd/dolt/commands/read_tables.go index b3aa21e673..fe58ea8adf 100644 --- a/go/cmd/dolt/commands/read_tables.go +++ b/go/cmd/dolt/commands/read_tables.go @@ -29,6 +29,10 @@ import ( "github.com/dolthub/dolt/go/store/types" ) +const ( + dirParamName = "dir" +) + var readTablesDocs = cli.CommandDocumentationContent{ ShortDesc: "Fetch table(s) at a specific commit into a new dolt repo", LongDesc: "A shallow clone operation will retrieve the state of table(s) from a remote repository at a given commit. " + @@ -72,7 +76,7 @@ func (cmd ReadTablesCmd) createArgParser() *argparser.ArgParser { {"commit", "Branch or commit hash representing a point in time to retrieve tables from"}, {"table", " Optional tables to retrieve. If omitted, all tables are retrieved."}, } - ap.SupportsString(fileParamName, "d", "directory", "directory to create and put retrieved table data.") + ap.SupportsString(dirParamName, "d", "directory", "directory to create and put retrieved table data.") return ap }