- clean up addgroup, fix adding users to existing groups and make it optional (Tito)

This commit is contained in:
Bernhard Reutner-Fischer
2007-04-05 13:16:39 +00:00
parent 45aebfd32d
commit 00c2c4868a
4 changed files with 116 additions and 45 deletions

View File

@ -12,9 +12,9 @@
#define __BB_USAGE_H__
#define addgroup_trivial_usage \
"[-g GID] group_name [user_name]"
"[-g GID]"USE_FEATURE_ADDUSER_TO_GROUP(" [user_name]")" group_name"
#define addgroup_full_usage \
"Add a group to the system" \
"Add a group to the system"USE_FEATURE_ADDUSER_TO_GROUP(" or add an user to a group") \
"\n\nOptions:\n" \
" -g GID Specify gid"