$ap->add_argument('--count', '-c', type => 'Scalar'); $ap->add_argument('--flag', '-f', type => 'Bool');