Skip to content

Commit

Permalink
changed help message
Browse files Browse the repository at this point in the history
  • Loading branch information
rpwatkins committed Aug 15, 2019
1 parent 3a44641 commit 6f40722
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions cmd/docbook.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ func init() {
rootCmd.AddCommand(docbookCmd)

docbookCmd.Flags().StringP("output", "o", "output File Name (no extension)", "The name to be used for the output of the build commands: docbook, html, fopub, pdf")
docbookCmd.Flags().Bool("timestamp", false, "Add the build timestamp to the output file name (default=false")
docbookCmd.Flags().Bool("skip", false, "skip validation (default=false")
docbookCmd.Flags().Bool("timestamp", false, "Add the build timestamp to the output file name")
docbookCmd.Flags().Bool("skip", false, "skip validation")

if err := viper.BindPFlag("output", docbookCmd.Flags().Lookup("output")); err != nil {
log.Error(err)
Expand Down
4 changes: 2 additions & 2 deletions cmd/fopub.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ func init() {
rootCmd.AddCommand(fopubCmd)

fopubCmd.Flags().StringP("output", "o", "output File Name (no extension)", "The name to be used for the output of the build commands: docbook, html, fopub, pdf")
fopubCmd.Flags().Bool("timestamp", false, "Add the build timestamp to the output file name (default=false")
fopubCmd.Flags().Bool("skip", false, "skip validation (default=false")
fopubCmd.Flags().Bool("timestamp", false, "Add the build timestamp to the output file name")
fopubCmd.Flags().Bool("skip", false, "skip validation")

if err := viper.BindPFlag("output", fopubCmd.Flags().Lookup("output")); err != nil {
log.Error(err)
Expand Down
4 changes: 2 additions & 2 deletions cmd/pdf.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ func init() {
rootCmd.AddCommand(pdfCmd)

pdfCmd.Flags().StringP("output", "o", "output File Name (no extension)", "The name to be used for the output of the build commands: docbook, html, fopub, pdf")
pdfCmd.Flags().Bool("timestamp", false, "Add the build timestamp to the output file name (default=false")
pdfCmd.Flags().Bool("skip", false, "skip validation (default=false")
pdfCmd.Flags().Bool("timestamp", false, "Add the build timestamp to the output file name")
pdfCmd.Flags().Bool("skip", false, "skip validation")

if err := viper.BindPFlag("output", pdfCmd.Flags().Lookup("output")); err != nil {
log.Error(err)
Expand Down

0 comments on commit 6f40722

Please sign in to comment.