aboutsummaryrefslogtreecommitdiff
path: root/examples/hello_world.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hello_world.sh')
-rwxr-xr-xexamples/hello_world.sh8
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}"