diff options
author | Denis Vlasenko | 2007-07-23 18:49:16 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-07-23 18:49:16 +0000 |
commit | 64a8a3bd7498f515dc29f8fb2996c46acce0483a (patch) | |
tree | 4deb2ff8a9efe7298c0fee198f019d1441e29213 /loginutils | |
parent | 5bfcb4d5ae716befe06a1f8801551ae09a144e91 (diff) | |
download | busybox-64a8a3bd7498f515dc29f8fb2996c46acce0483a.zip busybox-64a8a3bd7498f515dc29f8fb2996c46acce0483a.tar.gz |
chpasswd: rename long options definition to match other applets. no code changes
Diffstat (limited to 'loginutils')
-rw-r--r-- | loginutils/chpasswd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/loginutils/chpasswd.c b/loginutils/chpasswd.c index a4a9a55..3e3e8d3 100644 --- a/loginutils/chpasswd.c +++ b/loginutils/chpasswd.c @@ -11,7 +11,7 @@ #if ENABLE_GETOPT_LONG #include <getopt.h> -static const char chpasswd_opts[] = +static const char chpasswd_longopts[] = "encrypted\0" No_argument "e" "md5\0" No_argument "m" "\0"; @@ -32,7 +32,7 @@ int chpasswd_main(int argc, char **argv) bb_error_msg_and_die(bb_msg_perm_denied_are_you_root); opt_complementary = "m--e:e--m"; - USE_GETOPT_LONG(applet_long_options = chpasswd_opts;) + USE_GETOPT_LONG(applet_long_options = chpasswd_longopts;) opt = getopt32(argc, argv, "em"); while ((name = xmalloc_getline(stdin)) != NULL) { |