Permalink
Browse files

removed some code duplication

git-svn-id: http://shflags.googlecode.com/svn/trunk/source/1.0@114 9d7cb843-df4f-0410-8a79-4785ae5a3405
  • Loading branch information...
1 parent e17eaaf commit 06b8d866f56b3ad56dcb1b933926a48ca9ddfcc6 kate.ward@forestent.com committed Apr 1, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/shflags_test_public.sh
@@ -76,7 +76,7 @@ testStandardHelpOutput()
help='USAGE: standard [flags] args'
cat >"${expectedF}" <<EOF
-USAGE: standard [flags] args
+${help}
flags:
-b test boolean (default: false)
-i test integer (default: 0)
@@ -109,7 +109,7 @@ testEnhancedHelpOutput()
help='USAGE: enhanced [flags] args'
cat >"${expectedF}" <<EOF
-USAGE: enhanced [flags] args
+${help}
flags:
-b,--[no]test_bool: test boolean (default: false)
-i,--test_int: test integer (default: 0)

0 comments on commit 06b8d86

Please sign in to comment.