~samwhited/blogsync

c7d923e270765e9f5973f8ff39e10d4e218d3cb0 — Sam Whited 1 year, 10 months ago ca42178 v0.0.1
blogsync: fix name of convert command flagset

This appears to have been copy/pasted from the publish command, so the
name was wrong. It's not used anywhere so it doesn't matter, but fix it
for sanitys sake.
1 files changed, 1 insertions(+), 1 deletions(-)

M convert.go
M convert.go => convert.go +1 -1
@@ 24,7 24,7 @@ func convertCmd(logger, debug *log.Logger) *cli.Command {
		dryRun  = false
		content = "content/"
	)
	flags := flag.NewFlagSet("publish", flag.ContinueOnError)
	flags := flag.NewFlagSet("convert", flag.ContinueOnError)
	flags.BoolVar(&dryRun, "dry-run", dryRun, "Perform a trial run with no changes made")
	flags.StringVar(&content, "content", content, "A directory containing pages and posts")