Permalink
Browse files

shortened long default value in help tests

git-svn-id: http://shflags.googlecode.com/svn/trunk/source/1.0@105 9d7cb843-df4f-0410-8a79-4785ae5a3405
  • Loading branch information...
1 parent bccdfd3 commit 683a05cbb4a078002b1b93bea30d174f491e24ef kate.ward@forestent.com committed Nov 17, 2008
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/shflags_test_public.sh
@@ -71,7 +71,7 @@ testStandardHelpOutput()
DEFINE_string long_desc 'blah' \
'testing of a long description to force wrap of default value' D
DEFINE_string long_default \
- 'this_is_a_really_long_default_value_to_force_alternate_indentation' \
+ 'this_is_a_long_default_value_to_force_alternate_indentation' \
'testing of long default value' F
help='USAGE: standard [flags] args'
@@ -84,7 +84,7 @@ flags:
-D testing of a long description to force wrap of default value
(default: 'blah')
-F testing of long default value
- (default: 'this_is_a_really_long_default_value_to_force_alternate_indentation')
+ (default: 'this_is_a_long_default_value_to_force_alternate_indentation')
-h show this help (default: false)
EOF
( FLAGS_HELP=${help}; FLAGS -h >"${stdoutF}" 2>"${stderrF}" )
@@ -104,7 +104,7 @@ testEnhancedHelpOutput()
DEFINE_string long_desc 'blah' \
'testing of a long description to force wrap of default value' l
DEFINE_string long_default \
- 'this_is_a_really_long_default_value_to_force_alternate_indentation' \
+ 'this_is_a_long_default_value_to_force_alternate_indentation' \
'testing of long default value' F
help='USAGE: enhanced [flags] args'
@@ -117,7 +117,7 @@ flags:
-D,--long_desc: testing of a long description to force wrap of default value
(default: 'blah')
-F,--long_default: testing of long default value
- (default: 'this_is_a_really_long_default_value_to_force_alternate_indentation')
+ (default: 'this_is_a_long_default_value_to_force_alternate_indentation')
-h,--[no]help: show this help (default: false)
EOF
( FLAGS_HELP=${help}; FLAGS -h >"${stdoutF}" 2>"${stderrF}" )

0 comments on commit 683a05c

Please sign in to comment.