@@ -194,14 +194,14 @@ def list_targets_callback(ctx, param, value):
194
194
"help" : "Show IDF version and exit." ,
195
195
"is_flag" : True ,
196
196
"expose_value" : False ,
197
- "callback" : idf_version_callback
197
+ "callback" : idf_version_callback ,
198
198
},
199
199
{
200
200
"names" : ["--list-targets" ],
201
201
"help" : "Print list of supported targets and exit." ,
202
202
"is_flag" : True ,
203
203
"expose_value" : False ,
204
- "callback" : list_targets_callback
204
+ "callback" : list_targets_callback ,
205
205
},
206
206
{
207
207
"names" : ["-C" , "--project-dir" ],
@@ -227,7 +227,7 @@ def list_targets_callback(ctx, param, value):
227
227
"is_flag" : True ,
228
228
"is_eager" : True ,
229
229
"default" : False ,
230
- "callback" : verbose_callback
230
+ "callback" : verbose_callback ,
231
231
},
232
232
{
233
233
"names" : ["--preview" ],
@@ -237,11 +237,10 @@ def list_targets_callback(ctx, param, value):
237
237
},
238
238
{
239
239
"names" : ["--ccache/--no-ccache" ],
240
- "help" : (
241
- "Use ccache in build. Disabled by default, unless "
242
- "IDF_CCACHE_ENABLE environment variable is set to a non-zero value." ),
240
+ "help" : "Use ccache in build. Disabled by default." ,
243
241
"is_flag" : True ,
244
- "default" : os .getenv ("IDF_CCACHE_ENABLE" ) not in [None , "" , "0" ],
242
+ "envvar" : "IDF_CCACHE_ENABLE" ,
243
+ "default" : False ,
245
244
},
246
245
{
247
246
"names" : ["-G" , "--generator" ],
@@ -253,7 +252,7 @@ def list_targets_callback(ctx, param, value):
253
252
"help" : "Only process arguments, but don't execute actions." ,
254
253
"is_flag" : True ,
255
254
"hidden" : True ,
256
- "default" : False
255
+ "default" : False ,
257
256
},
258
257
],
259
258
"global_action_callbacks" : [validate_root_options ],
@@ -291,14 +290,15 @@ def list_targets_callback(ctx, param, value):
291
290
"names" : ["--style" , "--color-scheme" , "style" ],
292
291
"help" : (
293
292
"Menuconfig style.\n "
294
- "Is it possible to customize the menuconfig style by either setting the MENUCONFIG_STYLE "
295
- "environment variable or through this option. The built-in styles include:\n \n "
293
+ "The built-in styles include:\n \n "
296
294
"- default - a yellowish theme,\n \n "
297
- "- monochrome - a black and white theme, or\n "
295
+ "- monochrome - a black and white theme, or\n \n "
298
296
"- aquatic - a blue theme.\n \n "
299
- "The default value is \" aquatic\" . It is possible to customize these themes further "
300
- "as it is described in the Color schemes section of the kconfiglib documentation." ),
301
- "default" : os .environ .get ('MENUCONFIG_STYLE' , 'aquatic' ),
297
+ "It is possible to customize these themes further"
298
+ " as it is described in the Color schemes section of the kconfiglib documentation.\n "
299
+ 'The default value is \" aquatic\" .' ),
300
+ "envvar" : "MENUCONFIG_STYLE" ,
301
+ "default" : "aquatic" ,
302
302
}
303
303
],
304
304
},
0 commit comments