From 54b44515d744b0c25fe2c5e4a25e77ebb54faab1 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Wed, 9 Nov 2011 18:31:03 +0100 Subject: Rename source params storage to usb and network to net --- src/pjctl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pjctl.c b/src/pjctl.c index 10a538e..6b6b80f 100644 --- a/src/pjctl.c +++ b/src/pjctl.c @@ -303,12 +303,12 @@ source(struct pjctl *pjctl, char **argv, int argc) int type = 0, offset; int num; int i; - char *switches[] = { + const char *switches[] = { "rgb", "video", "digital", - "storage", - "network" + "usb", + "net" }; cmd = calloc(1, sizeof *cmd); @@ -560,7 +560,7 @@ static struct pjctl_command { char *help; } commands[] = { { "power", power, "" }, - { "source", source, "[1-9]" }, + { "source", source, "[1-9]" }, { "mute", avmute, " " }, { "status", status, ""}, }; -- cgit