comparison rcctl.c @ 8:a630b07450be

revised help message
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Thu, 06 Jan 2011 03:38:31 +0900
parents d2b8d45019d9
children c6f444d2272c
comparison
equal deleted inserted replaced
7:d2b8d45019d9 8:a630b07450be
90 90
91 void usage(char *cmd) 91 void usage(char *cmd)
92 { 92 {
93 printf("'Oke-Con' controller, version " S_VERS ".\n"); 93 printf("'Oke-Con' controller, version " S_VERS ".\n");
94 printf("Copyright (C) 1997-2002 by Tosy / W341IG.\n"); 94 printf("Copyright (C) 1997-2002 by Tosy / W341IG.\n");
95 printf("Adapted to linux by yaz / honeyplanet development\n"); 95 printf("Adapted to linux by yaz / honeyplanet development.\n");
96 printf("usage: %s <options> <vender> <song number>\n", cmd); 96 printf("usage: %s <options> <vender> <song number>\n", cmd);
97 printf("options: -d <debug level>\n"); 97 printf("options: -d <debug level> specify debug message level\n");
98 printf(" -h show this help\n");
98 exit(0); 99 exit(0);
99 } 100 }
100 101
101 102
102 int main(int argc, char **argv) 103 int main(int argc, char **argv)