Skip to content

Commit e66a9e2

Browse files
committed
Fix wraps and stuff
1 parent 3b77fb9 commit e66a9e2

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

cmd/add.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ var globalFlag_add = config.BoolFlagEntity{
2424
var addCmd = &cobra.Command{
2525
Use: "add",
2626
Short: "Adds a todo with directory context",
27-
Long: "Adds a todo with directory context, by default it will associate the todo with the local directory. Use -g to bind it to the global $HOME todo list",
27+
Long: `Adds a todo with directory context, by default it will
28+
associate the todo with the local directory. Use -g to bind it to the
29+
global $HOME todo list`,
2830
Run: func(cmd *cobra.Command, args []string) {
2931
globalFlag, errGetBool := cmd.Flags().GetBool(globalFlag_add.Name)
3032
if errGetBool != nil {

cmd/edit.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ var editCmd = &cobra.Command{
2525
Use: "edit",
2626
Aliases: []string{"ed"},
2727
Short: "Edits todos",
28-
Long: "Edits todos, by default it will let you to edit todos associated to this folder, use the -g flag to edit the global todo",
28+
Long: `Edits todos, by default it will let you to edit todos associated
29+
to this folder, use the -g flag to edit the global todo`,
2930
Run: func(cmd *cobra.Command, args []string) {
3031
globalFlag, errGetBool_global := cmd.Flags().GetBool(globalFlag_edit.Name)
3132
if errGetBool_global != nil {

cmd/remove.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ var allFlag_remove = config.BoolFlagEntity{
2929
FlagEntity: config.FlagEntity{
3030
Name: "all",
3131
Shorthand: "a",
32-
Usage: "Removes all the todos for the chosen directory. By default the chosen directory is the local directory, use -g to switch to remove from the global list",
32+
Usage: `Removes all the todos for the chosen directory. By
33+
default the chosen directory is the local directory, use -g to
34+
remove from the global list`,
3335
},
3436
Value: false,
3537
}
@@ -39,7 +41,9 @@ var removeCmd = &cobra.Command{
3941
Use: "remove",
4042
Aliases: []string{"rm"},
4143
Short: "Removes todos with directory context",
42-
Long: "Removes todos with directory context, by default it will attempt to remove todos associated with the local directory. Use -g to refer to the global $HOME todo list",
44+
Long: `Removes todos with directory context, by default it will attempt
45+
to remove todos associated with the local directory. Use -g to refer to
46+
the global $HOME todo list`,
4347
Run: func(cmd *cobra.Command, args []string) {
4448

4549
globalFlag, errGetBool_global := cmd.Flags().GetBool(globalFlag_remove.Name)

cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ var rootCmd = &cobra.Command{
3434
Use: "remind",
3535
Short: "Remind is a project aware todo app",
3636
Long: `Remind is a project aware todo app that will show relevant todos
37-
for depending on the project folder. It also stores all notes in
37+
depending on the project folder. It also stores all notes in
3838
$HOME/remind/ to allow for easy syncing`,
3939
// Uncomment the following line if your bare application
4040
// has an action associated with it:

0 commit comments

Comments
 (0)