cli: enforce int type in for loops

12 jobs for fg/dhcp_options2env-rh1663253 in 54 minutes and 4 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
passed #316573
allowed to fail
checkpatch

00:01:49

passed #316580
t_debian:9

00:18:06

passed #316582
t_debian:sid

00:18:18

manual #316581
allowed to fail manual
t_debian:testing
passed #316574
t_fedora:28

00:42:20

passed #316575
t_fedora:29

00:54:03

passed #316576
t_fedora:30

00:37:58

manual #316577
allowed to fail manual
t_fedora:rawhide
passed #316578
t_ubuntu:16.04

00:30:50

passed #316579
t_ubuntu:18.04

00:31:05

 
  External
passed NetworkManager test verification

passed NetworkManager test verification

05:54:58