summaryrefslogtreecommitdiff
path: root/mh/whom.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2003-03-19 14:08:24 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2003-03-19 14:08:24 +0000
commit902e017d1636989fa1d08618a4d6d139bd7c5de6 (patch)
tree78df3abbea0384f3bd35043194b77a9759c154e5 /mh/whom.c
parentfc93d31f2f0c58e5e69245ea335bd1759ce291d1 (diff)
downloadmailutils-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.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/mh/whom.c b/mh/whom.c
index 0ea61929c..ad2a9d46e 100644
--- a/mh/whom.c
+++ b/mh/whom.c
@@ -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;
}

Return to:

Send suggestions and report system problems to the System administrator.