From db5276c7515a951ee1ff7c8b1aa9eed2f85cd952 Mon Sep 17 00:00:00 2001 From: Mark McGranaghan Date: Sun, 16 Jun 2013 10:38:49 -0700 Subject: [PATCH] fix num -> numb typo --- examples/command-line-flags/command-line-flags.sh | 4 ++-- public/command-line-flags | 4 ++-- public/environment-variables | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/command-line-flags/command-line-flags.sh b/examples/command-line-flags/command-line-flags.sh index 8b22c06..5b43f39 100644 --- a/examples/command-line-flags/command-line-flags.sh +++ b/examples/command-line-flags/command-line-flags.sh @@ -31,12 +31,12 @@ tail: [a1 a2 a3] # Note that the `flag` package requires all flags to # appear before positional arguments (otherwise the flags # will be interpreted as positional arguments). -$ ./command-line-flags -word=opt a1 a2 a3 -num=7 +$ ./command-line-flags -word=opt a1 a2 a3 -numb=7 word: opt numb: 42 fork: false svar: bar -trailing: [a1 a2 a3 -num=7] +trailing: [a1 a2 a3 -numb=7] # Use `-h` or `--help` flags to get automatically # generated help text for the command-line program. diff --git a/public/command-line-flags b/public/command-line-flags index e2e7e62..8061b3c 100644 --- a/public/command-line-flags +++ b/public/command-line-flags @@ -231,12 +231,12 @@ will be interpreted as positional arguments).

-
$ ./command-line-flags -word=opt a1 a2 a3 -num=7
+            
$ ./command-line-flags -word=opt a1 a2 a3 -numb=7
 word: opt
 numb: 42
 fork: false
 svar: bar
-trailing: [a1 a2 a3 -num=7]
+trailing: [a1 a2 a3 -numb=7]
 
diff --git a/public/environment-variables b/public/environment-variables index 42c364f..5b86db8 100644 --- a/public/environment-variables +++ b/public/environment-variables @@ -146,7 +146,7 @@ particular machine.

-

If we set BAR in the environemnt first, the running +

If we set BAR in the environment first, the running program picks that value up.