File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -200,6 +200,9 @@ def parse_cli(args):
200200 write = WriteFiles ()
201201 for a in args :
202202 if a == "--windows-default" :
203+ print ("Using equivalent of: --pre --latest-micro -r >=3.11.0 index-windows.json" )
204+ print (" --pre -r >=3.11.0 index-windows-recent.json" )
205+ print (" index-windows-legacy.json" )
203206 plan_split = [SplitToFile (), SplitToFile (), SplitToFile ()]
204207 plan_split [0 ].target = "index-windows.json"
205208 plan_split [1 ].target = "index-windows-recent.json"
@@ -223,14 +226,16 @@ def parse_cli(args):
223226 if action .add_arg (a ):
224227 action = None
225228 continue
226- except ValueError :
227- pass
229+ except ValueError as ex :
230+ print ( ex )
228231 usage ()
229232 if not plan_read :
230233 action = ReadFile ()
231234 action .source = "https://www.python.org/ftp/python/index-windows.json"
232235 plan_read .append (action )
233236 if not plan_split :
237+ print ("No outputs specified" )
238+ print (args )
234239 usage ()
235240 return [* plan_read , sort , * plan_split , write ]
236241
You can’t perform that action at this time.
0 commit comments