Simplify gpasswd's main():

New function: process_flags(). Split the processing of options out of main().
This commit is contained in:
nekral-guest
2007-12-27 18:27:57 +00:00
parent 7b05484494
commit f429f3e38d
2 changed files with 76 additions and 55 deletions

View File

@@ -4,6 +4,8 @@
* src/gpasswd.c: Add argument name to the internal function
prototypes.
* src/gpasswd.c: Document global variables.
* src/gpasswd.c: New function: process_flags(). Split the processing
of options out of main().
2007-12-27 Nicolas François <nicolas.francois@centraliens.net>