]> granicus.if.org Git - shadow/commitdiff
Re-indent.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Thu, 24 Jan 2008 20:54:42 +0000 (20:54 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Thu, 24 Jan 2008 20:54:42 +0000 (20:54 +0000)
src/faillog.c
src/groupadd.c
src/groupmod.c
src/lastlog.c
src/passwd.c
src/su.c
src/useradd.c
src/userdel.c
src/usermod.c

index a3120d9d64f533a1dc3d105a8afe9d16e3cf359c..91aa768da889a86a157b797a9d14f54e406fd22e 100644 (file)
@@ -61,18 +61,18 @@ static struct stat statbuf; /* fstat buffer for file size */
 static void usage (void)
 {
        fputs (_("Usage: faillog [options]\n"
-                          "\n"
-                          "Options:\n"
-                          "  -a, --all                     display faillog records for all users\n"
-                          "  -h, --help                    display this help message and exit\n"
-                          "  -l, --lock-time SEC           after failed login lock accout to SEC seconds\n"
-                          "  -m, --maximum MAX             set maximum failed login counters to MAX\n"
-                          "  -r, --reset                   reset the counters of login failures\n"
-                          "  -t, --time DAYS               display faillog records more recent than DAYS\n"
-                          "  -u, --user LOGIN              display faillog record or maintains failure\n"
-                          "                                counters and limits (if used with -r, -m or -l\n"
-                          "                                options) only for user with LOGIN\n"
-                          "\n"), stderr);
+                "\n"
+                "Options:\n"
+                "  -a, --all                     display faillog records for all users\n"
+                "  -h, --help                    display this help message and exit\n"
+                "  -l, --lock-time SEC           after failed login lock accout to SEC seconds\n"
+                "  -m, --maximum MAX             set maximum failed login counters to MAX\n"
+                "  -r, --reset                   reset the counters of login failures\n"
+                "  -t, --time DAYS               display faillog records more recent than DAYS\n"
+                "  -u, --user LOGIN              display faillog record or maintains failure\n"
+                "                                counters and limits (if used with -r, -m or -l\n"
+                "                                options) only for user with LOGIN\n"
+                "\n"), stderr);
        exit (E_USAGE);
 }
 
index abe1f2d125d1e5c6616a7c07cb642e472c09361c..6402fcea76eb35f40dacf23e42e9b7080efcf628 100644 (file)
@@ -106,16 +106,16 @@ static void check_perms (void);
 static void usage (void)
 {
        fputs (_("Usage: groupadd [options] GROUP\n"
-                          "\n"
-                          "Options:\n"
-                          "  -f, --force                   force exit with success status if the\n"
-                          "                                specified group already exists\n"
-                          "  -g, --gid GID                 use GID for the new group\n"
-                          "  -h, --help                    display this help message and exit\n"
-                          "  -K, --key KEY=VALUE           overrides /etc/login.defs defaults\n"
-                          "  -o, --non-unique              allow create group with duplicate\n"
-                          "                                (non-unique) GID\n"
-                          "\n"), stderr);
+                "\n"
+                "Options:\n"
+                "  -f, --force                   force exit with success status if the\n"
+                "                                specified group already exists\n"
+                "  -g, --gid GID                 use GID for the new group\n"
+                "  -h, --help                    display this help message and exit\n"
+                "  -K, --key KEY=VALUE           overrides /etc/login.defs defaults\n"
+                "  -o, --non-unique              allow create group with duplicate\n"
+                "                                (non-unique) GID\n"
+                "\n"), stderr);
        exit (E_USAGE);
 }
 
index d689a216b0ca6f687341caff6e41a61341bca189..6bcadddd2ae9cb2fdf2ea884ff2865bb30331007 100644 (file)
@@ -101,14 +101,14 @@ static gid_t get_gid (const char *gidstr);
 static void usage (void)
 {
        fputs (_("Usage: groupmod [options] GROUP\n"
-                          "\n"
-                          "Options:\n"
-                          "  -g, --gid GID                 force use new GID by GROUP\n"
-                          "  -h, --help                    display this help message and exit\n"
-                          "  -n, --new-name NEW_GROUP      force use NEW_GROUP name by GROUP\n"
-                          "  -o, --non-unique              allow using duplicate (non-unique) GID by GROUP\n"
-                          "  -p, --password PASSWORD       use encrypted password for the new password\n"
-                          "\n"), stderr);
+                "\n"
+                "Options:\n"
+                "  -g, --gid GID                 force use new GID by GROUP\n"
+                "  -h, --help                    display this help message and exit\n"
+                "  -n, --new-name NEW_GROUP      force use NEW_GROUP name by GROUP\n"
+                "  -o, --non-unique              allow using duplicate (non-unique) GID by GROUP\n"
+                "  -p, --password PASSWORD       use encrypted password for the new password\n"
+                "\n"), stderr);
        exit (E_USAGE);
 }
 
index 37ebeb22ba78100ef28c415ba2e84e398dd606e5..f2a31cdcf898e9df90956541ee2106af00df5379 100644 (file)
@@ -69,13 +69,13 @@ static struct passwd *pwent;
 static void usage (void)
 {
        fputs (_("Usage: lastlog [options]\n"
-                          "\n"
-                          "Options:\n"
-                          "  -b, --before DAYS             print only lastlog records older than DAYS\n"
-                          "  -h, --help                    display this help message and exit\n"
-                          "  -t, --time DAYS               print only lastlog records more recent than DAYS\n"
-                          "  -u, --user LOGIN              print lastlog record of the specified LOGIN\n"
-                          "\n"), stderr);
+                "\n"
+                "Options:\n"
+                "  -b, --before DAYS             print only lastlog records older than DAYS\n"
+                "  -h, --help                    display this help message and exit\n"
+                "  -t, --time DAYS               print only lastlog records more recent than DAYS\n"
+                "  -u, --user LOGIN              print lastlog record of the specified LOGIN\n"
+                "\n"), stderr);
        exit (1);
 }
 
index cfe9d340cd8054f8517ff2a856d1d4c16428addf..ac025f05f48a2056e7551e1c6530f9710ecfe405 100644 (file)
@@ -144,26 +144,26 @@ static long getnumber (const char *);
 static void usage (int status)
 {
        fputs (_("Usage: passwd [options] [LOGIN]\n"
-                          "\n"
-                          "Options:\n"
-                          "  -a, --all                     report password status on all accounts\n"
-                          "  -d, --delete                  delete the password for the named account\n"
-                          "  -e, --expire                  force expire the password for the named account\n"
-                          "  -h, --help                    display this help message and exit\n"
-                          "  -k, --keep-tokens             change password only if expired\n"
-                          "  -i, --inactive INACTIVE       set password inactive after expiration\n"
-                          "                                to INACTIVE\n"
-                          "  -l, --lock                    lock the named account\n"
-                          "  -n, --mindays MIN_DAYS        set minimum number of days before password\n"
-                          "                                change to MIN_DAYS\n"
-                          "  -q, --quiet                   quiet mode\n"
-                          "  -r, --repository REPOSITORY   change password in REPOSITORY repository\n"
-                          "  -S, --status                  report password status on the named account\n"
-                          "  -u, --unlock                  unlock the named account\n"
-                          "  -w, --warndays WARN_DAYS      set expiration warning days to WARN_DAYS\n"
-                          "  -x, --maxdays MAX_DAYS        set maximim number of days before password\n"
-                          "                                change to MAX_DAYS\n"
-                          "\n"), stderr);
+                "\n"
+                "Options:\n"
+                "  -a, --all                     report password status on all accounts\n"
+                "  -d, --delete                  delete the password for the named account\n"
+                "  -e, --expire                  force expire the password for the named account\n"
+                "  -h, --help                    display this help message and exit\n"
+                "  -k, --keep-tokens             change password only if expired\n"
+                "  -i, --inactive INACTIVE       set password inactive after expiration\n"
+                "                                to INACTIVE\n"
+                "  -l, --lock                    lock the named account\n"
+                "  -n, --mindays MIN_DAYS        set minimum number of days before password\n"
+                "                                change to MIN_DAYS\n"
+                "  -q, --quiet                   quiet mode\n"
+                "  -r, --repository REPOSITORY   change password in REPOSITORY repository\n"
+                "  -S, --status                  report password status on the named account\n"
+                "  -u, --unlock                  unlock the named account\n"
+                "  -w, --warndays WARN_DAYS      set expiration warning days to WARN_DAYS\n"
+                "  -x, --maxdays MAX_DAYS        set maximim number of days before password\n"
+                "                                change to MAX_DAYS\n"
+                "\n"), stderr);
        exit (status);
 }
 
index 849a39f579835982f70ae90f82e435b78374efd7..7ca665cab1d82e75c50e324c543890bba1e63b3f 100644 (file)
--- a/src/su.c
+++ b/src/su.c
@@ -275,16 +275,16 @@ static void run_shell (const char *shellstr, char *args[], int doshell,
 static void usage (void)
 {
        fputs (_("Usage: su [options] [LOGIN]\n"
-                          "\n"
-                          "Options:\n"
-                          "  -c, --command COMMAND         pass COMMAND to the invoked shell\n"
-                          "  -h, --help                    display this help message and exit\n"
-                          "  -, -l, --login                make the shell a login shell\n"
-                          "  -m, -p,\n"
-                          "  --preserve-environment        do not reset environment variables, and\n"
-                          "                                keep the same shell\n"
-                          "  -s, --shell SHELL             use SHELL instead of the default in passwd\n"
-                          "\n"), stderr);
+                "\n"
+                "Options:\n"
+                "  -c, --command COMMAND         pass COMMAND to the invoked shell\n"
+                "  -h, --help                    display this help message and exit\n"
+                "  -, -l, --login                make the shell a login shell\n"
+                "  -m, -p,\n"
+                "  --preserve-environment        do not reset environment variables, and\n"
+                "                                keep the same shell\n"
+                "  -s, --shell SHELL             use SHELL instead of the default in passwd\n"
+                "\n"), stderr);
        exit (E_USAGE);
 }
 
index d79145cd5ac2d284e81350448d9bb39f5671612c..9d7c3eda8ed21753b52e671f82fe57c8db17ea74 100644 (file)
@@ -612,34 +612,34 @@ static int get_groups (char *list)
 static void usage (void)
 {
        fputs (_("Usage: useradd [options] LOGIN\n"
-                          "\n"
-                          "Options:\n"
-                          "  -b, --base-dir BASE_DIR       base directory for the new user account\n"
-                          "                                home directory\n"
-                          "  -c, --comment COMMENT         set the GECOS field for the new user account\n"
-                          "  -d, --home-dir HOME_DIR       home directory for the new user account\n"
-                          "  -D, --defaults                print or save modified default useradd\n"
-                          "                                configuration\n"
-                          "  -e, --expiredate EXPIRE_DATE  set account expiration date to EXPIRE_DATE\n"
-                          "  -f, --inactive INACTIVE       set password inactive after expiration\n"
-                          "                                to INACTIVE\n"
-                          "  -g, --gid GROUP               force use GROUP for the new user account\n"
-                          "  -G, --groups GROUPS           list of supplementary groups for the new\n"
-                          "                                user account\n"
-                          "  -h, --help                    display this help message and exit\n"
-                          "  -k, --skel SKEL_DIR           specify an alternative skel directory\n"
-                          "  -K, --key KEY=VALUE           overrides /etc/login.defs defaults\n"
-                          "  -l,                           do not add the user to the lastlog and\n"
-                          "                                faillog databases\n"
-                          "  -m, --create-home             create home directory for the new user\n"
-                          "                                account\n"
-                          "  -o, --non-unique              allow create user with duplicate\n"
-                          "                                (non-unique) UID\n"
-                          "  -p, --password PASSWORD       use encrypted password for the new user\n"
-                          "                                account\n"
-                          "  -s, --shell SHELL             the login shell for the new user account\n"
-                          "  -u, --uid UID                 force use the UID for the new user account\n"
-                          "\n"), stderr);
+                "\n"
+                "Options:\n"
+                "  -b, --base-dir BASE_DIR       base directory for the new user account\n"
+                "                                home directory\n"
+                "  -c, --comment COMMENT         set the GECOS field for the new user account\n"
+                "  -d, --home-dir HOME_DIR       home directory for the new user account\n"
+                "  -D, --defaults                print or save modified default useradd\n"
+                "                                configuration\n"
+                "  -e, --expiredate EXPIRE_DATE  set account expiration date to EXPIRE_DATE\n"
+                "  -f, --inactive INACTIVE       set password inactive after expiration\n"
+                "                                to INACTIVE\n"
+                "  -g, --gid GROUP               force use GROUP for the new user account\n"
+                "  -G, --groups GROUPS           list of supplementary groups for the new\n"
+                "                                user account\n"
+                "  -h, --help                    display this help message and exit\n"
+                "  -k, --skel SKEL_DIR           specify an alternative skel directory\n"
+                "  -K, --key KEY=VALUE           overrides /etc/login.defs defaults\n"
+                "  -l,                           do not add the user to the lastlog and\n"
+                "                                faillog databases\n"
+                "  -m, --create-home             create home directory for the new user\n"
+                "                                account\n"
+                "  -o, --non-unique              allow create user with duplicate\n"
+                "                                (non-unique) UID\n"
+                "  -p, --password PASSWORD       use encrypted password for the new user\n"
+                "                                account\n"
+                "  -s, --shell SHELL             the login shell for the new user account\n"
+                "  -u, --uid UID                 force use the UID for the new user account\n"
+                "\n"), stderr);
        exit (E_USAGE);
 }
 
index f8df2b0c104f831c6f2f20f12a4792f76c47b5ee..e82b2ad7ace220444ae2694543004d194a082f2c 100644 (file)
@@ -100,13 +100,13 @@ static void remove_mailbox (void);
 static void usage (void)
 {
        fputs (_("Usage: userdel [options] LOGIN\n"
-                          "\n"
-                          "Options:\n"
-                          "  -f, --force                   force removal of files,\n"
-                          "                                even if not owned by user\n"
-                          "  -h, --help                    display this help message and exit\n"
-                          "  -r, --remove                  remove home directory and mail spool\n"
-                          "\n"), stderr);
+                "\n"
+                "Options:\n"
+                "  -f, --force                   force removal of files,\n"
+                "                                even if not owned by user\n"
+                "  -h, --help                    display this help message and exit\n"
+                "  -r, --remove                  remove home directory and mail spool\n"
+                "\n"), stderr);
        exit (E_USAGE);
 }
 
index 6a63e7f7737d0fa5dfaed1a381d4c50b25a0b756..509f365c6643d475b810a6d389ba12be4f5e560f 100644 (file)
@@ -277,29 +277,29 @@ static int get_groups (char *list)
 static void usage (void)
 {
        fputs (_("Usage: usermod [options] LOGIN\n"
-                          "\n"
-                          "Options:\n"
-                          "  -c, --comment COMMENT         new value of the GECOS field\n"
-                          "  -d, --home HOME_DIR           new home directory for the user account\n"
-                          "  -e, --expiredate EXPIRE_DATE  set account expiration date to EXPIRE_DATE\n"
-                          "  -f, --inactive INACTIVE       set password inactive after expiration\n"
-                          "                                to INACTIVE\n"
-                          "  -g, --gid GROUP               force use GROUP as new primary group\n"
-                          "  -G, --groups GROUPS           new list of supplementary GROUPS\n"
-                          "  -a, --append                  append the user to the supplemental GROUPS\n"
-                          "                                mentioned by the -G option without removing\n"
-                          "                                him/her from other groups\n"
-                          "  -h, --help                    display this help message and exit\n"
-                          "  -l, --login NEW_LOGIN         new value of the login name\n"
-                          "  -L, --lock                    lock the user account\n"
-                          "  -m, --move-home               move contents of the home directory to the\n"
-                          "                                new location (use only with -d)\n"
-                          "  -o, --non-unique              allow using duplicate (non-unique) UID\n"
-                          "  -p, --password PASSWORD       use encrypted password for the new password\n"
-                          "  -s, --shell SHELL             new login shell for the user account\n"
-                          "  -u, --uid UID                 new UID for the user account\n"
-                          "  -U, --unlock                  unlock the user account\n"
-                          "\n"), stderr);
+                "\n"
+                "Options:\n"
+                "  -c, --comment COMMENT         new value of the GECOS field\n"
+                "  -d, --home HOME_DIR           new home directory for the user account\n"
+                "  -e, --expiredate EXPIRE_DATE  set account expiration date to EXPIRE_DATE\n"
+                "  -f, --inactive INACTIVE       set password inactive after expiration\n"
+                "                                to INACTIVE\n"
+                "  -g, --gid GROUP               force use GROUP as new primary group\n"
+                "  -G, --groups GROUPS           new list of supplementary GROUPS\n"
+                "  -a, --append                  append the user to the supplemental GROUPS\n"
+                "                                mentioned by the -G option without removing\n"
+                "                                him/her from other groups\n"
+                "  -h, --help                    display this help message and exit\n"
+                "  -l, --login NEW_LOGIN         new value of the login name\n"
+                "  -L, --lock                    lock the user account\n"
+                "  -m, --move-home               move contents of the home directory to the\n"
+                "                                new location (use only with -d)\n"
+                "  -o, --non-unique              allow using duplicate (non-unique) UID\n"
+                "  -p, --password PASSWORD       use encrypted password for the new password\n"
+                "  -s, --shell SHELL             new login shell for the user account\n"
+                "  -u, --uid UID                 new UID for the user account\n"
+                "  -U, --unlock                  unlock the user account\n"
+                "\n"), stderr);
        exit (E_USAGE);
 }