isJustHelpArgs function

bool isJustHelpArgs(
  1. List<String> args
)

Implementation

bool isJustHelpArgs(List<String> args) =>
    args.length == 1 && (args[0] == '-h' || args[0] == '--help');