-
Notifications
You must be signed in to change notification settings - Fork 0
/
misc.c
27 lines (24 loc) · 1.23 KB
/
misc.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include "misc.h"
#include <stdio.h>
#include "constants.h"
void print_help(void) {
printf(
"smpd version %d\n-0\t\tTab completion generator, internal\n-a\t\tAdd "
"search results(s) to queue (tab completed), takes a "
"query\n-c\t\tClear the queue\n-C\t\tDisplay the currently playing "
"song\n-d\t\tDelete a given position from the queue, takes a position "
"integer\n-h\t\tPrint this help message\n-l\t\tLoop the current song a "
"given amount of times, takes an integer argument\n-L\t\tPrint all of "
"the "
"currently queued songs\n-m\t\tPrint the current songs "
"metadata\n-n\t\tSkip relatively around in the song queue, takes an "
"integer\n-p\t\tSeek to an exact position in the current song (in "
"seconds), takes an integer argument\n-P\t\tSeek relatively in the "
"current song (in seconds), takes an integer argument\n-r\t\tToggle "
"repeat mode\n-s\t\tSearch library, takes query(s)\n-x\t\tClear the "
"queue, then search the library for a given query. Takes"
"query(s)\nNote: -x and -a have identical behavior, except -x deletes "
"the "
"current queue before adding the results\n",
VERSION);
}