diff options
author | dvdli <dvdli@google.com> | 2020-12-07 16:30:50 +0800 |
---|---|---|
committer | dvdli <dvdli@google.com> | 2020-12-07 16:30:50 +0800 |
commit | 31dcaff5d2fa8ec0c11bc5b5057a1cd0dde7e110 (patch) | |
tree | 7bc039a7bc5d661d2918dfc595c4401b233ca1e0 /utils | |
parent | 8ee99fc593797dabc042b249cd57b6abd7a81025 (diff) |
add usage of VALUES
Diffstat (limited to 'utils')
-rw-r--r-- | utils/tinymix.c | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/utils/tinymix.c b/utils/tinymix.c index 2effa19..31b8a19 100644 --- a/utils/tinymix.c +++ b/utils/tinymix.c @@ -51,14 +51,19 @@ void usage(void) { printf("usage: tinymix [options] <command>\n"); printf("options:\n"); - printf("\t-h, --help : prints this help message and exits\n"); - printf("\t-v, --version : prints this version of tinymix and exits\n"); - printf("\t-D, --card NUMBER : specifies the card number of the mixer\n"); + printf("\t-h, --help : prints this help message and exits\n"); + printf("\t-v, --version : prints this version of tinymix and exits\n"); + printf("\t-D, --card NUMBER : specifies the card number of the mixer\n"); + printf("\n"); printf("commands:\n"); - printf("\tget NAME|ID : prints the values of a control\n"); - printf("\tset NAME|ID VALUE : sets the value of a control\n"); - printf("\tcontrols : lists controls of the mixer\n"); - printf("\tcontents : lists controls of the mixer and their contents\n"); + printf("\tget NAME|ID : prints the values of a control\n"); + printf("\tset NAME|ID VALUE(S) ... : sets the value of a control\n"); + printf("\t\tVALUE(S): integers, percents, and relative values\n"); + printf("\t\t\tIntegers: 0, 100, -100 ...\n"); + printf("\t\t\tPercents: 0%%, 100%% ...\n"); + printf("\t\t\tRelative values: 1+, 1-, 1%%+, 2%%+ ...\n"); + printf("\tcontrols : lists controls of the mixer\n"); + printf("\tcontents : lists controls of the mixer and their contents\n"); } void version(void) |