@@ -15,7 +15,7 @@ fn test_empty() {
15
15
+ "Test program\n "
16
16
+ "\n "
17
17
+ "Optional arguments:\n "
18
- + " -h,--help show this help message and exit\n "
18
+ + " -h,--help Show this help message and exit\n "
19
19
, from_utf8( & buf[ ..] ) . unwrap( ) . to_string( ) ) ;
20
20
}
21
21
@@ -43,7 +43,7 @@ we want to test how word wrapping works for it. So some more text would be ok
43
43
for the test\n "
44
44
+ "\n "
45
45
+ "Optional arguments:\n "
46
- + " -h,--help show this help message and exit\n "
46
+ + " -h,--help Show this help message and exit\n "
47
47
+ " --value VALUE Set integer value\n "
48
48
+ " -L,--long-option LONG_OPTION\n "
49
49
+ " Long option value\n "
@@ -69,7 +69,7 @@ fn test_argument() {
69
69
+ " value Integer value\n "
70
70
+ "\n "
71
71
+ "Optional arguments:\n "
72
- + " -h,--help show this help message and exit\n "
72
+ + " -h,--help Show this help message and exit\n "
73
73
, from_utf8( & buf[ ..] ) . unwrap( ) . to_string( ) ) ;
74
74
}
75
75
@@ -97,7 +97,7 @@ fn test_arguments() {
97
97
+ " v2 More values\n "
98
98
+ "\n "
99
99
+ "Optional arguments:\n "
100
- + " -h,--help show this help message and exit\n "
100
+ + " -h,--help Show this help message and exit\n "
101
101
, from_utf8( & buf[ ..] ) . unwrap( ) . to_string( ) ) ;
102
102
}
103
103
@@ -127,7 +127,7 @@ fn test_req_arguments() {
127
127
+ " v2 More values\n "
128
128
+ "\n "
129
129
+ "Optional arguments:\n "
130
- + " -h,--help show this help message and exit\n "
130
+ + " -h,--help Show this help message and exit\n "
131
131
, from_utf8( & buf[ ..] ) . unwrap( ) . to_string( ) ) ;
132
132
}
133
133
@@ -148,7 +148,7 @@ fn test_metavar() {
148
148
+ "Test program.\n "
149
149
+ "\n "
150
150
+ "Optional arguments:\n "
151
- + " -h,--help show this help message and exit\n "
151
+ + " -h,--help Show this help message and exit\n "
152
152
+ " -L,--long-option VAL Long option value\n "
153
153
, from_utf8( & buf[ ..] ) . unwrap( ) . to_string( ) ) ;
154
154
}
0 commit comments