Archived
1
0

Makes Long description formatting consistent

This commit is contained in:
Jip J. Dekker 2016-10-02 01:39:54 +02:00
parent feffd5d03d
commit 1510422a59
4 changed files with 11 additions and 11 deletions

View File

@ -26,8 +26,9 @@ import (
var addCmd = &cobra.Command{
Use: "add [file]+",
Short: "Add pdf file to a book",
Long: `Add creates a json file with all options regarding a sheet music file in PDF format.
The information saved in the json file will be used when compiling the songbook.`,
Long: `Add creates a json file with all options regarding a sheet music file
in PDF format. The information saved in the json file will be used when
compiling the songbook.`,
Run: func(cmd *cobra.Command, args []string) {
var (
path string

View File

@ -23,10 +23,9 @@ import (
var compileCmd = &cobra.Command{
Use: "compile",
Short: "Compiles all lilypond files in the library",
Long: `Compile (ponder compile) will walk through and compile all
lilypond files in accordance to ponder settings file.
Files that have already been compiled will be skipped,
unless the lilypond file has been edited.`,
Long: `Compile (ponder compile) will walk through and compile all lilypond
files in accordance to ponder settings file. Files that have already been
compiled will be skipped, unless the lilypond file has been edited.`,
Run: func(cmd *cobra.Command, args []string) {
path, opts := getSettings()
opts.EnablePointAndClick = opts.EnablePointAndClick || enablePointAndClick

View File

@ -43,7 +43,7 @@ var initCmd = &cobra.Command{
Use: "init [location]",
Short: "Initialize a Ponder Library",
Long: `Initialize (ponder init) will create a new library, with a ponder
settings file and corresponding git ignore file.
settings file and corresponding git ignore file.
* If a name is provided, it will be created in the current directory;
* If no name is provided, the current directory will be assumed;

View File

@ -34,10 +34,10 @@ var (
var RootCmd = &cobra.Command{
Use: "ponder",
Short: "A managing tool for lilypond sheet music libraries",
Long: `Ponder is a tool to help manage your sheet music library.
The main purpose is to help in the compilation of your lilypond files
into both single files and a fully functioning song book. It also accepts
other PDF files to be part of your song book.`,
Long: `Ponder is a tool to help manage your sheet music library. The main
purpose is to help in the compilation of your lilypond files into both single
files and a fully functioning song book. It also accepts other PDF files to be
part of your song book.`,
PersistentPreRun: func(cmd *cobra.Command, args []string) {
setLogLevel()
},