From 765649f4fb8796bb580c81dd64759d39cf5c226e Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Sun, 29 Oct 2017 22:18:59 +0100 Subject: allow -f - for stdin --- notyet | 1 + 1 file changed, 1 insertion(+) (limited to 'notyet') diff --git a/notyet b/notyet index bb6b769..62a72d4 100755 --- a/notyet +++ b/notyet @@ -206,6 +206,7 @@ files = [File.expand_path("~/.notyet")] if files.empty? t = nil files.each { |file| + file = "/dev/stdin" if file == "-" File.open(file) { |f| d = parse(f, file) if t -- cgit 1.4.1