diff --git a/public/command-line-flags b/public/command-line-flags index 42dad0b..43ec18f 100644 --- a/public/command-line-flags +++ b/public/command-line-flags @@ -272,7 +272,7 @@ generated help text for the command-line program.

and show the help text again.

- +
$ ./command-line-flags -wat
 flag provided but not defined: -wat
@@ -283,18 +283,6 @@ and show the help text again.

- - -

Next we’ll look at environment variables, another common -way to parameterize programs.

- - - - - - - - diff --git a/public/command-line-subcommands b/public/command-line-subcommands index 945f646..39b385b 100644 --- a/public/command-line-subcommands +++ b/public/command-line-subcommands @@ -214,7 +214,7 @@ have access to trailing positional arguments.

But bar won’t accept foo’s flags.

- +
$ ./command-line-subcommands bar -enable a1
 flag provided but not defined: -enable
@@ -226,6 +226,18 @@ have access to trailing positional arguments.

+ + +

Next we’ll look at environment variables, another common +way to parameterize programs.

+ + + + + + + +