diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-11-09 18:31:03 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-11-09 18:31:03 +0100 |
commit | 54b44515d744b0c25fe2c5e4a25e77ebb54faab1 (patch) | |
tree | 991264351faf26cd800b620c81c0a07ebe973ac9 | |
parent | c24da62c509928ffee2378709310f44f70ecdb1b (diff) | |
download | pjctl-54b44515d744b0c25fe2c5e4a25e77ebb54faab1.tar.gz pjctl-54b44515d744b0c25fe2c5e4a25e77ebb54faab1.tar.bz2 pjctl-54b44515d744b0c25fe2c5e4a25e77ebb54faab1.zip |
Rename source params storage to usb and network to net
-rw-r--r-- | src/pjctl.c | 8 |
1 files 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, "<on|off>" }, - { "source", source, "<rgb|video|digital|storage|network>[1-9]" }, + { "source", source, "<rgb|video|digital|usb|net>[1-9]" }, { "mute", avmute, "<video|audio|av> <on|off>" }, { "status", status, ""}, }; |