diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-11-12 09:55:32 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-11-12 09:55:32 +0100 |
commit | 50463137844747b0ec33d1d452ea597481adf2be (patch) | |
tree | 2be48d96bf57ef383ebc6a3c0e81c03b3ee78d91 | |
parent | 3f2fa278d144eb7e2ac86d54784644fb82f97c9a (diff) | |
download | pjctl-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.
-rw-r--r-- | src/pjctl.c | 6 |
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, ""}, }; |