URL:
https://github.com/SSSD/sssd/pull/35
Title: #35: sss_cache: improve option argument handling
jhrozek commented:
"""
Sorry for the late review, I was hoping some of the newer developer would pick it up :)
ACK to the patch. The code looks OK and the patch works:
```
# sss_cache -u admin
# sss_cache -r admin admin2
Usage: sss_cache [-?EUGNSAHR] [-?|--help] [--usage] [-E|--everything] [-u|--user=STRING]
[-U|--users] [-g|--group=STRING] [-G|--groups] [-n|--netgroup=STRING]
[-N|--netgroups]
[-s|--service=STRING] [-S|--services] [-a|--autofs-map=STRING]
[-A|--autofs-maps]
[-h|--ssh-host=STRING] [-H|--ssh-hosts] [-r|--sudo-rule=STRING]
[-R|--sudo-rules]
[-d|--domain=STRING]
Unexpected argument(s) provided, options that invalidate a single object only accept a
single provided argument.
```
"""
See the full comment at
https://github.com/SSSD/sssd/pull/35#issuecomment-252283002