diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2009-08-28 18:20:44 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-09-21 10:35:07 -0400 |
commit | db329e0f8a35c23416acedaca3683392b0114c92 (patch) | |
tree | b9b393efe9a7af5190edb5c71d80b9fb24e45e89 /common | |
parent | 31e6cb0a887f8c19b8558aa5fe7363201848e815 (diff) | |
download | sssd-db329e0f8a35c23416acedaca3683392b0114c92.tar.gz sssd-db329e0f8a35c23416acedaca3683392b0114c92.tar.bz2 sssd-db329e0f8a35c23416acedaca3683392b0114c92.zip |
Refactor tools code
Move parameter parsing in tools before attempting to do anything that
might fail - so that we have debug_level set correctly for potential
error messages. That allows printing the --help and --usage messages
without being root.
Fix code duplicates in tools and refactor its code a little to lay
ground for decoupling the synchronous interfaces.
Remove some legacy tools leftovers, re-add sensible error message on
removing nonexistent users/groups which was removed by accident.
Fixes: Trac ticket #75
Fix typo in groupdel: fixes ticket #136
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions