From 2f6d3a38982e950e18819c1e36954640a39e2eee Mon Sep 17 00:00:00 2001 From: Dakota Walsh Date: Mon, 10 Jan 2022 14:20:33 +1300 Subject: [PATCH] update ConvertFiles documentation --- convert.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/convert.go b/convert.go index c5eabce..59755b4 100644 --- a/convert.go +++ b/convert.go @@ -33,7 +33,8 @@ type Gemtext struct { // An afero filesystem is used for abstraction. You can create an OS based // filesystem with afero.NewOsFs() or a memory backed system with // afero.NewMemMapFs(). -// Files are written with the .gmi extension in the source directory. +// Files are written with the .gmi extension in the output directory. If the +// output directory is not given, they are written in the source directory. // Encountering an error stops the program with an appropriate message. func ConvertFiles(fs afero.Fs, opts *options.Opts, mt *matchtemplate.MatchedTemplates) error { // Read and convert the list of files concurrently. -- 2.45.2