Update now.sh

This commit is contained in:
everest 2022-05-16 22:58:17 +00:00 committed by GitHub
parent 91ed6fe455
commit 2266657df4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,14 +9,14 @@ source ~/.config/now/events.sh
while [[ $# -gt 0 ]]; do while [[ $# -gt 0 ]]; do
case $1 in case $1 in
-h|--help) -h|--help)
printf "$blue now - a simple to-do list written in POSIX sh $reset" printf "$blue now - a simple to-do list written in POSIX sh $reset\n"
printf "now {-h --help} show this message" printf "now {-h --help} show this message\n"
printf "now {-a --add} [name] [date] [time] add an event" printf "now {-a --add} [name] [date] [time] add an event\n"
printf "now {--version} show the current version of now" printf "now {--version} show the current version of now\n"
printf "" printf "\n"
printf "Events can be added by editing ~/.config/now/events.sh" printf "Events can be added by editing ~/.config/now/events.sh\n"
printf "If you would like to manually export the events instead, remove 'source ~/.config/now/events.sh'" printf "If you would like to manually export the events instead, remove 'source ~/.config/now/events.sh'\n"
printf "This program is free software: see the GNU GPL v3.0 for details" printf "This program is free software: see the GNU GPL v3.0 for details\n"
exit 0 exit 0
;; ;;
--version) --version)