summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-11-12 09:55:32 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-11-12 09:55:32 +0100
commit50463137844747b0ec33d1d452ea597481adf2be (patch)
tree2be48d96bf57ef383ebc6a3c0e81c03b3ee78d91 /src
parent3f2fa278d144eb7e2ac86d54784644fb82f97c9a (diff)
downloadpjctl-50463137844747b0ec33d1d452ea597481adf2be.tar.gz
pjctl-50463137844747b0ec33d1d452ea597481adf2be.tar.bz2
pjctl-50463137844747b0ec33d1d452ea597481adf2be.zip
Rename usb back to storage
Since usb displays are often exposed as network interfaces, and what we referred usb to is for reading videos/images from an usb stick.
Diffstat (limited to 'src')
-rw-r--r--src/pjctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pjctl.c b/src/pjctl.c
index 06a52d5..2900297 100644
--- a/src/pjctl.c
+++ b/src/pjctl.c
@@ -298,7 +298,7 @@ source(struct pjctl *pjctl, char **argv, int argc)
int type = 0, offset;
int num;
int i;
- const char *switches[] = { "rgb", "video", "digital", "usb", "net" };
+ const char *switches[] = { "rgb", "video", "digital", "storage", "net" };
cmd = calloc(1, sizeof *cmd);
if (!cmd)
@@ -460,7 +460,7 @@ map_input_name(char sw)
case '4':
return "storage";
case '5':
- return "network";
+ return "net";
default:
return "unknown";
}
@@ -565,7 +565,7 @@ static struct pjctl_command {
char *help;
} commands[] = {
{ "power", power, "<on|off>" },
- { "source", source, "<rgb|video|digital|usb|net>[1-9]" },
+ { "source", source, "<rgb|video|digital|storage|net>[1-9]" },
{ "mute", avmute, "<video|audio|av> <on|off>" },
{ "status", status, ""},
};