~mun-tonsi/toki-sona

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH] Removed outdated rocket syntax for options

Details
Message ID
<20240702101813.29523-1-genevieve@mun-tonsi.net>
DKIM signature
pass
Download raw message
Patch: +4 -4
Closes: https://todo.sr.ht/~mun-tonsi/toki-sona/2
---
 main.rb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/main.rb b/main.rb
index 790f365..e52b564 100644
--- a/main.rb
+++ b/main.rb
@@ -13,10 +13,10 @@ Dotenv.load
# Read command line options
options = Optimist::options do
  opt :email, "Send emails"
  opt :template, "Path to ERB template file", :type => :string, :required => true
  opt :calendars, "URIs where iCal files are located", :type => :strings, :required => true
  opt :output, "Redirect output to this file", :type => :string
  opt :offset, "Number of days from now to look for events, default is 7", :type => :integer
  opt :template, "Path to ERB template file", type: :string, required: true
  opt :calendars, "URIs where iCal files are located", type: :strings, required: true
  opt :output, "Redirect output to this file", type: :string
  opt :offset, "Number of days from now to look for events, default is 7", type: :integer
end

# Set up filters for events
-- 
2.45.1
Reply to thread Export thread (mbox)