snippet-extractor: better docs

This commit is contained in:
Adrien Delorme 2020-07-16 15:49:44 +02:00
parent ddea6183fe
commit 946bc72ca8
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ type options struct {
func (o *options) AddFlagSets(fs *flag.FlagSet) {
fs.StringVar(&o.begin, "begin", "#_BEGIN_WRAP_TAG_", "flag to mark beginning of a snippet")
fs.StringVar(&o.end, "end", "#_END_WRAP_TAG_", "flag to mark ending of a snippet")
fs.StringVar(&o.outputDir, "output_dir", "./docs/", "flag to mark ending of a snippet")
fs.StringVar(&o.outputDir, "output_dir", "./docs/", "directory in which the files will be generated, note that the directory layout is kept")
fs.StringVar(&o.extension, "extension", ".mdx", "extension for generated files")
}