~mun-tonsi/toki-sona

Removed outdated rocket syntax for options v1 APPLIED

Genevieve Clifford: 1
 Removed outdated rocket syntax for options

 1 files changed, 4 insertions(+), 4 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~mun-tonsi/toki-sona/patches/53638/mbox | git am -3
Learn more about email & git

[PATCH] Removed outdated rocket syntax for options Export this patch

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