"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "alsamixer/cli.c" between
alsa-utils-1.2.1.tar.bz2 and alsa-utils-1.2.2.tar.bz2

About: ALSA (Advanced Linux Sound Architecture) - Utilities.

cli.c  (alsa-utils-1.2.1.tar.bz2):cli.c  (alsa-utils-1.2.2.tar.bz2)
skipping to change at line 61 skipping to change at line 61
static void parse_options(int argc, char *argv[]) static void parse_options(int argc, char *argv[])
{ {
static const char short_options[] = "hc:D:V:gsa:"; static const char short_options[] = "hc:D:V:gsa:";
static const struct option long_options[] = { static const struct option long_options[] = {
{ .name = "help", .val = 'h' }, { .name = "help", .val = 'h' },
{ .name = "card", .has_arg = 1, .val = 'c' }, { .name = "card", .has_arg = 1, .val = 'c' },
{ .name = "device", .has_arg = 1, .val = 'D' }, { .name = "device", .has_arg = 1, .val = 'D' },
{ .name = "view", .has_arg = 1, .val = 'V' }, { .name = "view", .has_arg = 1, .val = 'V' },
{ .name = "no-color", .val = 'g' }, { .name = "no-color", .val = 'g' },
{ .name = "abstraction", .has_arg = 1, .val = 'a' }, { .name = "abstraction", .has_arg = 1, .val = 'a' },
{ } { 0 }
}; };
int option; int option;
int card_index; int card_index;
static char name_buf[16]; static char name_buf[16];
while ((option = getopt_long(argc, argv, short_options, while ((option = getopt_long(argc, argv, short_options,
long_options, NULL)) != -1) { long_options, NULL)) != -1) {
switch (option) { switch (option) {
case '?': case '?':
case 'h': case 'h':
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)