X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/44c01adf506b1087bff724dcb65b92a12b012836..9ae284163f491c64de122fcd555019040e0d4da7:/main.c diff --git a/main.c b/main.c index baea582..0952c93 100644 --- a/main.c +++ b/main.c @@ -111,8 +111,8 @@ static void mutt_usage (void) puts _( "usage: mutt [] [-z] [-f | -yZ]\n\ - mutt [] [-x] [-Hi ] [-s ] [-bc ] [-a [...]] [--] [...]\n\ - mutt [] [-x] [-s ] [-bc ] [-a [...]] [--] [...] < message\n\ + mutt [] [-x] [-Hi ] [-s ] [-bc ] [-a [...] --] [...]\n\ + mutt [] [-x] [-s ] [-bc ] [-a [...] --] [...] < message\n\ mutt [] -p\n\ mutt [] -A [...]\n\ mutt [] -Q [...]\n\ @@ -122,7 +122,8 @@ static void mutt_usage (void) puts _("\ options:\n\ -A \texpand the given alias\n\ - -a \tattach a file to the message\n\ + -a [...] --\tattach file(s) to the message\n\ +\t\tthe list of files must be terminated with the \"--\" sequence\n\ -b
\tspecify a blind carbon-copy (BCC) address\n\ -c
\tspecify a carbon-copy (CC) address\n\ -D\t\tprint the value of all variables to stdout"); @@ -149,8 +150,6 @@ options:\n\ -z\t\texit immediately if there are no messages in the mailbox\n\ -Z\t\topen the first folder with new message, exit immediately if none\n\ -h\t\tthis help message"); - puts _(" --\t\ttreat remaining arguments as addr even if starting with a dash\n\ -\t\twhen using -a with multiple filenames using -- is mandatory"); exit (0); } @@ -515,6 +514,7 @@ static void start_curses (void) #if HAVE_META meta (stdscr, TRUE); #endif +init_extended_keys(); } #define M_IGNORE (1<<0) /* -z */ @@ -896,7 +896,7 @@ int main (int argc, char **argv) else fin = NULL; - mutt_mktemp (buf); + mutt_mktemp (buf, sizeof (buf)); tempfile = safe_strdup (buf); if (draftFile)