summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2018-04-23 15:36:56 +0200
committerLeah Neukirchen <leah@vuxu.org>2018-04-23 15:36:56 +0200
commit593b1950d6f70cb9deaea34cd83c3c95e5bea8fa (patch)
treed6791c01815a7429c61d281fb2643a78619dfc2a
parent4b4fed9b8adea786487d85e913ebea42793615df (diff)
downloadmblaze-593b1950d6f70cb9deaea34cd83c3c95e5bea8fa.tar.gz
mblaze-593b1950d6f70cb9deaea34cd83c3c95e5bea8fa.tar.xz
mblaze-593b1950d6f70cb9deaea34cd83c3c95e5bea8fa.zip
mrefile: don't default to current message
-rw-r--r--man/mrefile.16
-rw-r--r--mdeliver.c2
2 files changed, 1 insertions, 7 deletions
diff --git a/man/mrefile.1 b/man/mrefile.1
index da12953..62dbea0 100644
--- a/man/mrefile.1
+++ b/man/mrefile.1
@@ -22,12 +22,6 @@ Message are moved directly into the
 .Pa cur/
 directory.
 .Pp
-If used interactively and no
-.Ar msgs
-are specified,
-.Nm
-moves the current message.
-.Pp
 See
 .Xr mmsg 7
 for the message argument syntax.
diff --git a/mdeliver.c b/mdeliver.c
index 1714760..cde194f 100644
--- a/mdeliver.c
+++ b/mdeliver.c
@@ -239,7 +239,7 @@ usage:
 		gethost();
 
 		if (argc == optind + 1 && isatty(0))
-			blaze822_loop1(".", refile);
+			goto usage;
 		else
 			blaze822_loop(argc - 1 - optind, argv + optind, refile);