@@ -147,7 +147,7 @@ def print_aligned(self) -> None:
147147 Each column will have a specific width, and will be line wrapped.
148148 """
149149 total_width = shutil .get_terminal_size (fallback = (160 , 0 ))[0 ]
150- _col = max (total_width // 5 , 20 )
150+ _col = max (total_width // 5 , 24 )
151151 last_column = total_width - (3 * _col ) - 3
152152 four_column = (_col , _col , _col , last_column if last_column > 1 else _col )
153153
@@ -207,11 +207,12 @@ def _add_line(self, name: LOGLINE, value: LOGLINE, choices: LOGLINE, descr: LOGL
207207 self .choices_col .append (choices )
208208 self .descr_col .append (descr )
209209
210- def add_option (self , name : str , descr : str , value : T .Any , choices : T .Any ) -> None :
210+ def add_option (self , key : OptionKey , descr : str , value : T .Any , choices : T .Any ) -> None :
211211 self ._add_section ()
212212 value = stringify (value )
213213 choices = stringify (choices )
214- self ._add_line (mlog .green (name ), mlog .yellow (value ), mlog .blue (choices ), descr )
214+ self ._add_line (mlog .green (str (key .evolve (subproject = None ))), mlog .yellow (value ),
215+ mlog .blue (choices ), descr )
215216
216217 def add_title (self , title : str ) -> None :
217218 self ._add_section ()
@@ -248,7 +249,7 @@ def print_options(self, title: str, opts: T.Union[options.MutableKeyedOptionDict
248249 # printable_value = '<inherited from main project>'
249250 #if isinstance(o, options.UserFeatureOption) and o.is_auto():
250251 # printable_value = auto.printable_value()
251- self .add_option (k . name , o .description , printable_value , o .printable_choices ())
252+ self .add_option (k , o .description , printable_value , o .printable_choices ())
252253
253254 def print_conf (self , pager : bool ) -> None :
254255 if pager :
0 commit comments