From 66d2870c03db711f133a31088f4dba0b74bc3b44 Mon Sep 17 00:00:00 2001 From: Sandy Marie <59062958+SandyyMarie@users.noreply.github.com> Date: Thu, 16 Mar 2023 15:59:44 -0600 Subject: [PATCH] Config clarifications Updated syntax --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 07b0418..6c0cabb 100644 --- a/README.md +++ b/README.md @@ -28,8 +28,8 @@ end Then start an OTP application: ```elixir -defp application do - [applications: [:xlsxir]] +def application do + [extra_applications: [:xlsxir]] end ``` @@ -40,7 +40,7 @@ end Xlsxir parses a `.xlsx` file located at a given `path` and extracts the data to an ETS process via the `Xlsxir.multi_extract/1-5`, `Xlsxir.peek/3-4` and `Xlsxir.stream_list/2-3` functions: ```elixir -Xlsxir.multi_extract(path, index \\ nil, timer \\ false, excel \\ nil, options \\ []) +Xlsxir.multi_extract(path, index \\ nil, timer \\ false, rows \\ nil, options \\ []) Xlsxir.peek(path, index, rows, options \\ []) Xlsxir.stream_list(path, index, options \\ []) ```