diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2005-03-06 14:29:25 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2005-03-06 14:29:25 +0000 |
commit | 9228442de1e8cfa7bb819d8d4a85b1c05975a200 (patch) | |
tree | d0ee4e977d2c42cc758f9ed5402a93d269cb9550 /frm | |
parent | 6223b874ac531c041625acc49b9daff69607188e (diff) | |
download | mailutils-9228442de1e8cfa7bb819d8d4a85b1c05975a200.tar.gz mailutils-9228442de1e8cfa7bb819d8d4a85b1c05975a200.tar.bz2 |
Use a uniform way of filename quoting in diagnostic messages.
Diffstat (limited to 'frm')
-rw-r--r-- | frm/common.c | 17 | ||||
-rw-r--r-- | frm/from.c | 2 |
2 files changed, 11 insertions, 8 deletions
diff --git a/frm/common.c b/frm/common.c index bc6ad1a3a..444053a82 100644 --- a/frm/common.c +++ b/frm/common.c @@ -515,3 +515,3 @@ frm_abort (mailbox_t *mbox) - mu_error (_("Could not close <%s>: %s."), + mu_error (_("Could not close mailbox `%s': %s"), url_to_string (url), mu_strerror (status)); @@ -542,5 +542,8 @@ frm_scan (char *mailbox_name, frm_select_t fun, size_t *total) { - mu_error (_("Could not create mailbox <%s>: %s."), - mailbox_name ? mailbox_name : _("default"), - mu_strerror (status)); + if (mailbox_name) + mu_error (_("Could not create mailbox `%s': %s"), + mailbox_name, mu_strerror (status)); + else + mu_error (_("Could not create default mailbox: %s"), + mu_strerror (status)); exit (3); @@ -562,3 +565,3 @@ frm_scan (char *mailbox_name, frm_select_t fun, size_t *total) { - mu_error (_("Could not open mailbox <%s>: %s."), + mu_error (_("Could not open mailbox `%s': %s"), url_to_string (url), mu_strerror (status)); @@ -582,3 +585,3 @@ frm_scan (char *mailbox_name, frm_select_t fun, size_t *total) { - mu_error (_("Could not scan mailbox <%s>: %s."), + mu_error (_("Could not scan mailbox `%s': %s."), url_to_string (url), mu_strerror (status)); @@ -592,3 +595,3 @@ frm_scan (char *mailbox_name, frm_select_t fun, size_t *total) { - mu_error (_("Could not close <%s>: %s."), + mu_error (_("Could not close mailbox `%s': %s"), url_to_string (url), mu_strerror (status)); diff --git a/frm/from.c b/frm/from.c index e8a09553b..a188be38c 100644 --- a/frm/from.c +++ b/frm/from.c @@ -27,3 +27,3 @@ static char doc[] = N_("GNU from -- display from and subject"); static struct argp_option options[] = { - {"count", 'c', NULL, 0, N_("Just print a count of messages and exit.")}, + {"count", 'c', NULL, 0, N_("Just print a count of messages and exit")}, {"sender", 's', N_("ADDRESS"), 0, |