@@ -262,10 +262,15 @@ parserVizSubCommand =
262262 , command " short-leios-1" . info (pure VizShortLeios1 ) $
263263 progDesc
264264 " A simulation of two nodes running Short Leios."
265- , command " short-leios-p2p-1" . info (parserShortLeiosP2P1 <**> helper) $
265+ , command " short-leios-p2p-1" . info leiosP2P $
266266 progDesc
267- " A simulation of 100 nodes running Short Leios."
267+ " Alias for leios-p2p-1."
268+ , command " leios-p2p-1" . info leiosP2P $
269+ progDesc
270+ " A simulation of 100 nodes running Leios."
268271 ]
272+ where
273+ leiosP2P = parserShortLeiosP2P1 <**> helper
269274
270275parserPraosP2P1 :: Parser VizSubCommand
271276parserPraosP2P1 =
@@ -430,10 +435,14 @@ parserSimCommand =
430435 subparser . mconcat $
431436 [ commandGroup " Available simulations:"
432437 , command " praos-diffusion" . info (parserSimPraosDiffusion <**> helper) $
433- progDesc " "
434- , command " short-leios" . info (parserShortLeios <**> helper) $
435- progDesc " "
438+ progDesc " Praos simulation."
439+ , command " short-leios" . info leios $
440+ progDesc " Alias for `leios`."
441+ , command " leios" . info leios $
442+ progDesc " Leios simulation."
436443 ]
444+ where
445+ leios = parserShortLeios <**> helper
437446
438447parserSimPraosDiffusion :: Parser SimCommand
439448parserSimPraosDiffusion =
0 commit comments