Skip to content
Browse files

Mark . by default unless specified

  • Loading branch information...
1 parent cb5f26a commit 2ae99f15f48967eb3119e441f9c26aabf4817025 @chneukirchen committed Feb 25, 2011
Showing with 1 addition and 4 deletions.
  1. +1 −4 coma
View
5 coma
@@ -1142,10 +1142,7 @@ end
def cmd_mark(argv)
opts = parse(argv, "mark", %w[flagged unflagged replied unreplied seen unseen trashed untrashed])
- if opts["args"].empty?
- warn 'Use "coma mark all" if you want to mark the whole sequence.'
- abort 'coma: no messages selected.'
- end
+ opts['args'] = ["."] if opts['args'].empty?
with_context { |ctx|
seq, cur = select(ctx, opts)

0 comments on commit 2ae99f1

Please sign in to comment.
Something went wrong with that request. Please try again.