$ cat ~/.jenkins-cli[local]host=http://localhost:8080/username=radopassword=mypassword[stage]host=http://jenkins-stage.example.com/username=radopassword=myotherpassword[prod]host=http://jenkins-prod.example.com/username=produserpassword=mydifferentpassword
$ jenkins jobs --environment prod
Suggested syntax:
And then use
$ jenkins jobs --environment prodor simply
$ jenkins jobs -e prod