diff --git a/zet b/zet index 661aefc..19633c4 100755 --- a/zet +++ b/zet @@ -8,14 +8,14 @@ Zettel helper script. Usage: - zet create|c TITLE... : Create a new zettel - zet edit|e QUERY... : Search for a zettel and edit it - zet help|h : Show this help screen - zet id QUERY... : Search for a zettel and display its ID - zet latest : Edit the latest zettel - zet print|p QUERY... : Search for a zettel and print it - zet view|v QUERY... : Search for a zettel and view it - zet QUERY... : Print IDs and titles of zettels matching QUERY + zet create|new|c|n TITLE... : Create a new zettel + zet edit|e QUERY... : Search for a zettel and edit it + zet help|h : Show this help screen + zet id QUERY... : Search for a zettel and display its ID + zet latest : Edit the latest zettel + zet print|p QUERY... : Search for a zettel and print it + zet view|v QUERY... : Search for a zettel and view it + zet QUERY... : Print IDs and titles of zettels matching QUERY EOF @@ -127,7 +127,7 @@ get_title_from_file() { main() { case "$1" in - create | c) + create | new | c | n) shift 1 cmd_create "$@" ;;