diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-08-13 22:22:56 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-08-13 22:23:31 -0400 |
commit | 62556214991fcbc5291f104c89eadac32151439a (patch) | |
tree | db0c367c8f730045c4724c38061b46e918ec2ed9 /pulsemix.c | |
parent | 9c8cee7a55619f842a13028a7ce58e60dcc9ea5a (diff) | |
download | mirror-ponymix-62556214991fcbc5291f104c89eadac32151439a.tar.gz mirror-ponymix-62556214991fcbc5291f104c89eadac32151439a.tar.bz2 mirror-ponymix-62556214991fcbc5291f104c89eadac32151439a.zip |
add missing -d option
alphabetize the optstring and longopt array while we're at it.
Diffstat (limited to 'pulsemix.c')
-rw-r--r-- | pulsemix.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -731,16 +731,16 @@ int main(int argc, char *argv[]) int (*fn_get_by_name)(struct pulseaudio_t *, const char *, enum mode) = get_sink_by_name; static const struct option opts[] = { - { "help", no_argument, 0, 'h' }, - { "device", no_argument, 0, 'd' }, { "app", no_argument, 0, 'a' }, + { "device", no_argument, 0, 'd' }, + { "help", no_argument, 0, 'h' }, { "sink", optional_argument, 0, 'o' }, { "source", optional_argument, 0, 'i' }, { 0, 0, 0, 0 }, }; for (;;) { - int opt = getopt_long(argc, argv, "hao::i::", opts, NULL); + int opt = getopt_long(argc, argv, "adhi::o::", opts, NULL); if (opt == -1) break; |