lots of small changes

This commit is contained in:
Arne Döring 2018-12-05 19:03:01 +01:00 • committed by Araq
commit a5ecbf823f
85 changed files with 180 additions and 110 deletions

View file

@ -486,7 +486,7 @@ proc echo_help*(expected: seq[Tparameter_specification] = @[],
echo line
when isMainModule:
when true:
# Simply tests code embedded in docs.
let
parsed_param1 = new_parsed_parameter(PK_FLOAT, 3.41)

View file

@ -81,7 +81,7 @@ proc process_commandline(): Tcommandline_results =
echo "Will use progress type $1" % [result.options[PARAM_PROGRESS[0]].str_val]
when isMainModule:
when true:
let args = process_commandline()
for param in args.positional_parameters:
echo "Downloading $1" % param.str_val