From 913272fba0c6b429ef8ce9f04498ebc5d5b653be Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sat, 13 Jan 2024 19:18:42 -0500 Subject: Add command reference --- internal/commands/down.go | 2 +- internal/commands/new.go | 2 +- internal/commands/up.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'internal') diff --git a/internal/commands/down.go b/internal/commands/down.go index e974cdf..2beae2e 100644 --- a/internal/commands/down.go +++ b/internal/commands/down.go @@ -25,7 +25,7 @@ func (*DownCmd) Synopsis() string { } func (*DownCmd) Usage() string { - return `down: + return `down [-version|-v]: Downgrade migrations against the database. ` } diff --git a/internal/commands/new.go b/internal/commands/new.go index 79c0ceb..864de4e 100644 --- a/internal/commands/new.go +++ b/internal/commands/new.go @@ -26,7 +26,7 @@ func (*NewCmd) Synopsis() string { } func (*NewCmd) Usage() string { - return `create [-message|-m]: + return `new [-message|-m]: Create a new database migration ` } diff --git a/internal/commands/up.go b/internal/commands/up.go index f27c054..57f9109 100644 --- a/internal/commands/up.go +++ b/internal/commands/up.go @@ -25,7 +25,7 @@ func (*UpCmd) Synopsis() string { } func (*UpCmd) Usage() string { - return `up: + return `up [-version|-v]: Apply migrations against the database ` } -- cgit v1.2.3