commands: Fix some flag diff

The CLI docs output is now identical with the master version.

See #4598
This commit is contained in:
Bjørn Erik Pedersen
2018-04-11 09:57:43 +02:00
parent a7d00fc39e
commit 24d5c21942
3 changed files with 7 additions and 4 deletions

View File

@@ -33,17 +33,18 @@ var (
)
type convertCmd struct {
hugoBuilderCommon
outputDir string
unsafe bool
*baseBuilderCmd
*baseCmd
}
func newConvertCmd() *convertCmd {
cc := &convertCmd{}
// TODO(bep) cli refactor this is more than it had
cc.baseBuilderCmd = newBuilderCmd(&cobra.Command{
cc.baseCmd = newBaseCmd(&cobra.Command{
Use: "convert",
Short: "Convert your content to different formats",
Long: `Convert your content (e.g. front matter) to different formats.