diff --git a/Changelog.md b/Changelog.md index 92e9848..938c7d2 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,5 +1,9 @@ # Changelog for break\_interval +## Upcoming Changes + +Minor tweaks to help text, README. + ## Version 1.1 Change usage of internal audio to use a Unix pipe instead of reading from diff --git a/README.md b/README.md index 3d186e4..4d58584 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,10 @@ meant to be used as a way to notify the user to take a break when the interval jingle plays. # For usage: - ./break_interval --help + > ./break_interval --help + ./program [minutes] [file_to_play_on_interval] [player_program] [player_args...] + minutes defaults to 5, file defaults to internal file, program defaults to "/usr/bin/mpv". + Note that this program uses execl/execv, so if a program is specified, it must be the full path to the program. Running the program with no args will default to playing a jingle every 5 minutes. diff --git a/src/main.c b/src/main.c index 7c33589..9d26540 100644 --- a/src/main.c +++ b/src/main.c @@ -141,6 +141,7 @@ int play_jingle_from_memory(const char *jingle_data, void print_help(void) { puts("./program [minutes] [file_to_play_on_interval] [player_program] [player_args...]"); puts(" minutes defaults to 5, file defaults to internal file, program defaults to \"/usr/bin/mpv\"."); + puts("Note that this program uses execl/execv, so if a program is specified, it must be the full path to the program."); } int main(int argc, char **argv) {