Simplify gpasswd's main():

Also split check_flags() out of main().
This commit is contained in:
nekral-guest
2007-12-27 21:19:57 +00:00
parent c81bf3e06f
commit c919701466
2 changed files with 26 additions and 16 deletions

View File

@@ -10,7 +10,7 @@
update_group(). Split out from main() to simplify this (too) big
function.
* src/gpasswd.c: New functions: check_perms(), get_group(),
change_passwd(). Split out of main() to simplify main().
change_passwd(), check_flags(). Split out of main() to simplify main().
2007-12-27 Nicolas François <nicolas.francois@centraliens.net>