From 0124607e923417262e8ecf38b3bc06321a6012c9 Mon Sep 17 00:00:00 2001 From: Rolfe Dlugy-Hegwer Date: Tue, 18 May 2021 18:58:44 -0400 Subject: [PATCH 1/3] Fix omission of "revel" from line 61 --- tutorial/gettingstarted.md | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/tutorial/gettingstarted.md b/tutorial/gettingstarted.md index c651692..dce89be 100644 --- a/tutorial/gettingstarted.md +++ b/tutorial/gettingstarted.md @@ -58,22 +58,25 @@ Ensure the `$GOPATH/bin` directory is in your PATH so that you can reference the Verify that it works: - $ Usage: - revel [OPTIONS] - - Application Options: - -v, --debug If set the logger is set to verbose - --historic-run-mode If set the runmode is passed a string not json - -X, --build-flags= These flags will be used when building the application. May be specified multiple times, only applicable for Build, Run, Package, Test commands - - Available commands: - build - clean - new - package - run - test - version + $ revel + Usage: + revel [OPTIONS] + + Application Options: + -v, --debug If set the logger is set to verbose + --historic-run-mode If set the runmode is passed a string not json + --historic-build-mode If set the code is scanned using the original parsers, not the go.1.11+ + -X, --build-flags= These flags will be used when building the application. May be specified multiple times, only applicable for Build, Run, Package, Test commands + --gomod-flags= These flags will execute go mod commands for each flag, this happens during the build process + + Available commands: + build + clean + new + package + run + test + version Next [Create a new Revel application.](createapp.html) From 674c6086f55ec99bbc4fd5b3659fa06bf60f8f9c Mon Sep 17 00:00:00 2001 From: Rolfe Dlugy-Hegwer Date: Tue, 18 May 2021 19:01:45 -0400 Subject: [PATCH 2/3] Fix indentation --- tutorial/gettingstarted.md | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/tutorial/gettingstarted.md b/tutorial/gettingstarted.md index dce89be..b9fa323 100644 --- a/tutorial/gettingstarted.md +++ b/tutorial/gettingstarted.md @@ -58,25 +58,25 @@ Ensure the `$GOPATH/bin` directory is in your PATH so that you can reference the Verify that it works: - $ revel - Usage: - revel [OPTIONS] - - Application Options: - -v, --debug If set the logger is set to verbose - --historic-run-mode If set the runmode is passed a string not json - --historic-build-mode If set the code is scanned using the original parsers, not the go.1.11+ - -X, --build-flags= These flags will be used when building the application. May be specified multiple times, only applicable for Build, Run, Package, Test commands - --gomod-flags= These flags will execute go mod commands for each flag, this happens during the build process - - Available commands: - build - clean - new - package - run - test - version + $ revel + Usage: + revel [OPTIONS] + + Application Options: + -v, --debug If set the logger is set to verbose + --historic-run-mode If set the runmode is passed a string not json + --historic-build-mode If set the code is scanned using the original parsers, not the go.1.11+ + -X, --build-flags= These flags will be used when building the application. May be specified multiple times, only applicable for Build, Run, Package, Test commands + --gomod-flags= These flags will execute go mod commands for each flag, this happens during the build process + + Available commands: + build + clean + new + package + run + test + version Next [Create a new Revel application.](createapp.html) From 7a26ef6a2be8885a399bec81fdf940c4f6703d02 Mon Sep 17 00:00:00 2001 From: Rolfe Dlugy-Hegwer Date: Tue, 18 May 2021 19:03:45 -0400 Subject: [PATCH 3/3] Use a code block instead --- tutorial/gettingstarted.md | 43 +++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/tutorial/gettingstarted.md b/tutorial/gettingstarted.md index b9fa323..083abb8 100644 --- a/tutorial/gettingstarted.md +++ b/tutorial/gettingstarted.md @@ -57,26 +57,27 @@ Ensure the `$GOPATH/bin` directory is in your PATH so that you can reference the export PATH="$PATH:$GOPATH/bin" Verify that it works: - - $ revel - Usage: - revel [OPTIONS] - - Application Options: - -v, --debug If set the logger is set to verbose - --historic-run-mode If set the runmode is passed a string not json - --historic-build-mode If set the code is scanned using the original parsers, not the go.1.11+ - -X, --build-flags= These flags will be used when building the application. May be specified multiple times, only applicable for Build, Run, Package, Test commands - --gomod-flags= These flags will execute go mod commands for each flag, this happens during the build process - - Available commands: - build - clean - new - package - run - test - version - + +``` +$ revel +Usage: + revel [OPTIONS] + +Application Options: + -v, --debug If set the logger is set to verbose + --historic-run-mode If set the runmode is passed a string not json + --historic-build-mode If set the code is scanned using the original parsers, not the go.1.11+ + -X, --build-flags= These flags will be used when building the application. May be specified multiple times, only applicable for Build, Run, Package, Test commands + --gomod-flags= These flags will execute go mod commands for each flag, this happens during the build process + +Available commands: + build + clean + new + package + run + test + version +``` Next [Create a new Revel application.](createapp.html)