diff options
author | Kate Ward <kate.ward@forestent.com> | 2018-01-25 15:16:05 +0100 |
---|---|---|
committer | Kate Ward <kate.ward@forestent.com> | 2018-01-25 15:16:05 +0100 |
commit | c5f50be79a642a910dae5bed78bfdc30724e285c (patch) | |
tree | 498856217bb5cf12967d620b6a50a0b145bf5804 /examples/hello_world.sh | |
parent | 51ccc276e36e2554b593fc4c37ecf098bf96cc50 (diff) | |
download | shflags-c5f50be79a642a910dae5bed78bfdc30724e285c.tar.gz |
Fixed to work again after code reorg.
Diffstat (limited to 'examples/hello_world.sh')
-rwxr-xr-x | examples/hello_world.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/hello_world.sh b/examples/hello_world.sh index 84b755a..e5fe81c 100755 --- a/examples/hello_world.sh +++ b/examples/hello_world.sh @@ -7,13 +7,13 @@ # '--name'). If a name is given, it is output, otherwise the default of 'world' # is output. -# source shflags -. ../src/shflags +# Source shflags. +. ../shflags -# define a 'name' command-line string flag +# Define a 'name' command-line string flag. DEFINE_string 'name' 'world' 'name to say hello to' 'n' -# parse the command-line +# Parse the command-line. FLAGS "$@" || exit 1 eval set -- "${FLAGS_ARGV}" |