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/repl.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/repl.c')
-rw-r--r-- | mh/repl.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -61,6 +61,8 @@ static struct argp_option options[] = { {"nowhatnowproc", ARG_NOWHATNOWPROC, NULL, 0, N_("* Ignore whatnowproc variable. Use standard `whatnow' shell instead.")}, {"use", ARG_USE, N_("BOOL"), OPTION_ARG_OPTIONAL, N_("Use draft file preserved after the last session") }, + {"license", ARG_LICENSE, 0, 0, + N_("Display software license"), -1}, { 0 } }; @@ -200,6 +202,10 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state) argp_error (state, _("option is not yet implemented")); exit (1); + case ARG_LICENSE: + mh_license (argp_program_version); + break; + default: return 1; } |