diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-03-19 14:08:24 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-03-19 14:08:24 +0000 |
commit | 902e017d1636989fa1d08618a4d6d139bd7c5de6 (patch) | |
tree | 78df3abbea0384f3bd35043194b77a9759c154e5 /mh/whom.c | |
parent | fc93d31f2f0c58e5e69245ea335bd1759ce291d1 (diff) | |
download | mailutils-902e017d1636989fa1d08618a4d6d139bd7c5de6.tar.gz mailutils-902e017d1636989fa1d08618a4d6d139bd7c5de6.tar.bz2 |
Minor changes for consistency with the overall GNU mh options layout.
Diffstat (limited to 'mh/whom.c')
-rw-r--r-- | mh/whom.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -37,6 +37,10 @@ static struct argp_option options[] = { {"check", ARG_CHECK, N_("BOOL"), OPTION_ARG_OPTIONAL, N_("Check if addresses are deliverable") }, {"nocheck", ARG_NOCHECK, NULL, OPTION_HIDDEN, "" }, + + {"license", ARG_LICENSE, 0, 0, + N_("Display software license"), -1}, + {NULL} }; @@ -89,6 +93,10 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state) check_recipients = 0; break; + case ARG_LICENSE: + mh_license (argp_program_version); + break; + default: return 1; } |