From 39cc92ae7f31de3943567e340aab729214eb9fa5 Mon Sep 17 00:00:00 2001 From: Ross Eskridge Date: Wed, 12 Jun 2019 20:18:46 +0000 Subject: [PATCH] Fix forward reference in command line flags text Text in command line flags referenced environment variables, moved that to subcommands to read correctly. --- examples/command-line-flags/command-line-flags.sh | 3 --- examples/command-line-subcommands/command-line-subcommands.sh | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/command-line-flags/command-line-flags.sh b/examples/command-line-flags/command-line-flags.sh index d8fb754..246f4c7 100644 --- a/examples/command-line-flags/command-line-flags.sh +++ b/examples/command-line-flags/command-line-flags.sh @@ -54,6 +54,3 @@ $ ./command-line-flags -wat flag provided but not defined: -wat Usage of ./command-line-flags: ... - -# Next we'll look at environment variables, another common -# way to parameterize programs. diff --git a/examples/command-line-subcommands/command-line-subcommands.sh b/examples/command-line-subcommands/command-line-subcommands.sh index c5948e8..32531ed 100644 --- a/examples/command-line-subcommands/command-line-subcommands.sh +++ b/examples/command-line-subcommands/command-line-subcommands.sh @@ -19,3 +19,6 @@ flag provided but not defined: -enable Usage of bar: -level int level + +# Next we'll look at environment variables, another common +# way to parameterize programs.