Skip to content

Commit 4f3cdf6

Browse files
committed
Append Command Cleanup
1 parent aaa0d33 commit 4f3cdf6

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,7 @@ If no file-suffix is given in `note-name`, the notes will attempt to open `note-
135135

136136
### `notes append <note-name> [message]`
137137

138-
Appends a given note with the test `message` from the command line. If no note yet exists, a new note of <note-name> will be created. This command also accepts stdin
139-
via piping. An example would be `echo "hello" | notes append <note-name>`
140-
Shorthand alias also available with `notes a`.
138+
Appends `message` to the `note-name` note. If this note does not exist, a new note of <note-name> will be created. This command also accepts stdin via piping. An example would be `echo "hello" | notes append <note-name>` Shorthand alias also available with `notes a`.
141139

142140
### `notes mv <note-name> <destination>|<directory>`
143141

_notes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ __notes_cmd ()
2323
grep:'<pattern> Search notes by content'
2424
search:'[pattern] Search notes by filename or content'
2525
open:'<name> Open a notes for editing by full name'
26-
append:'<name> [message] '
26+
append:'<name> [message] Appends a note. Will use stdin if no message is given'
2727
rm:'[-r | --recursive] <name> Remove note, or folder if -r or --recursive is given]'
2828
cat:'<name> Display a note by name'
2929
--version:'Show version'

test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Run this file to run all the tests, once
2-
./test/libs/bats/bin/bats test/*.bats
2+
./test/libs/bats/bin/bats test/*.bats

0 commit comments

Comments
 (0)