Closed davetron5000 closed 1 month ago
When a flag is multiple: true and required: true, GLI does not indicate when no flags are given on the command line.
multiple: true
required: true
Check that the value is an empty array in addition to the nil check
CLoses #244
Released in 2.21.3
Problem
When a flag is
multiple: true
andrequired: true
, GLI does not indicate when no flags are given on the command line.Solution
Check that the value is an empty array in addition to the nil check