commit 6a128dce90f5cfa1ff9201526fff0aecdf22671d from: Omar Polo date: Fri Jul 08 21:09:30 2022 UTC sort commands commit - d488e5a511ca54ed1ae8c0502b80e79e99215fd3 commit + 6a128dce90f5cfa1ff9201526fff0aecdf22671d blob - 5cf6b04fc9bc74669b548658678d41ba75003a9d blob + 6ed0f149ee2207441b1518f116dfa7de10139f1c --- ctl.c +++ ctl.c @@ -50,21 +50,21 @@ int ctl_repeat(struct parse_result *, int, char **); int ctl_monitor(struct parse_result *, int, char **); struct ctl_command ctl_commands[] = { - { "play", PLAY, ctl_noarg, "", 0 }, - { "pause", PAUSE, ctl_noarg, "", 0 }, - { "toggle", TOGGLE, ctl_noarg, "", 0 }, - { "stop", STOP, ctl_noarg, "", 0 }, - { "restart", RESTART, ctl_noarg, "", 0 }, { "add", ADD, ctl_add, "files...", 0 }, { "flush", FLUSH, ctl_noarg, "", 0 }, - { "show", SHOW, ctl_show, "[-p]", 0 }, - { "status", STATUS, ctl_noarg, "", 0 }, - { "next", NEXT, ctl_noarg, "", 0 }, - { "prev", PREV, ctl_noarg, "", 0 }, - { "load", LOAD, ctl_load, "[file]", 1 }, { "jump", JUMP, ctl_jump, "pattern", 0 }, - { "repeat", REPEAT, ctl_repeat, "one|all on|off", 0 }, + { "load", LOAD, ctl_load, "[file]", 1 }, { "monitor", MONITOR, ctl_monitor, "[events]", 0 }, + { "next", NEXT, ctl_noarg, "", 0 }, + { "pause", PAUSE, ctl_noarg, "", 0 }, + { "play", PLAY, ctl_noarg, "", 0 }, + { "prev", PREV, ctl_noarg, "", 0 }, + { "repeat", REPEAT, ctl_repeat, "one|all on|off", 0 }, + { "restart", RESTART, ctl_noarg, "", 0 }, + { "show", SHOW, ctl_show, "[-p]", 0 }, + { "status", STATUS, ctl_noarg, "", 0 }, + { "stop", STOP, ctl_noarg, "", 0 }, + { "toggle", TOGGLE, ctl_noarg, "", 0 }, { NULL, 0, NULL, NULL, 0 }, };