@@ -1271,28 +1271,28 @@ func TestHiddenFlagUsage(t *testing.T) {
12711271 }
12721272}
12731273
1274- const defaultOutput = ` --A for bootstrapping, allow 'any' type
1275- --Alongflagname disable bounds checking
1276- -C, --CCC a boolean defaulting to true (default true)
1277- --D path set relative path for local imports
1278- -E, --EEE num[=1234] a num with NoOptDefVal (default 4321)
1279- --F number a non-zero number (default 2.7)
1280- --G float a float that defaults to zero
1281- --IP ip IP address with no default
1282- --IPMask ipMask Netmask address with no default
1283- --IPNet ipNet IP network with no default
1284- --Ints ints int slice with zero default
1285- --N int a non-zero int (default 27)
1286- --ND1 string[="bar"] a string with NoOptDefVal (default "foo")
1287- --ND2 num[=4321] a num with NoOptDefVal (default 1234)
1288- --StringArray stringArray string array with zero default
1289- --StringSlice strings string slice with zero default
1290- --Z int an int that defaults to zero
1291- --custom custom custom Value implementation
1292- --custom-with-val custom custom value which has been set from command line while help is shown
1293- --customP custom a VarP with default (default 10)
1294- --maxT timeout set timeout for dial
1295- -v, --verbose count verbosity
1274+ const defaultOutput = ` --A[=true|false] for bootstrapping, allow 'any' type
1275+ --Alongflagname[=true|false] disable bounds checking
1276+ -C, --CCC[=true|false] a boolean defaulting to true (default true)
1277+ --D path set relative path for local imports
1278+ -E, --EEE num[=1234] a num with NoOptDefVal (default 4321)
1279+ --F number a non-zero number (default 2.7)
1280+ --G float a float that defaults to zero
1281+ --IP ip IP address with no default
1282+ --IPMask ipMask Netmask address with no default
1283+ --IPNet ipNet IP network with no default
1284+ --Ints ints int slice with zero default
1285+ --N int a non-zero int (default 27)
1286+ --ND1 string[="bar"] a string with NoOptDefVal (default "foo")
1287+ --ND2 num[=4321] a num with NoOptDefVal (default 1234)
1288+ --StringArray stringArray string array with zero default
1289+ --StringSlice strings string slice with zero default
1290+ --Z int an int that defaults to zero
1291+ --custom custom custom Value implementation
1292+ --custom-with-val custom custom value which has been set from command line while help is shown
1293+ --customP custom a VarP with default (default 10)
1294+ --maxT timeout set timeout for dial
1295+ -v, --verbose count verbosity
12961296`
12971297
12981298// Custom value that satisfies the Value interface.
0 commit comments