diff mbox

[-,aconnect,1/1] fix aconnect -l option

Message ID 1399435607-9730-1-git-send-email-karlbongers@gmail.com (mailing list archive)
State Accepted
Headers show

Commit Message

Karl Bongers May 7, 2014, 4:06 a.m. UTC
aconnect -l would just print usage.
This fix makes it do what usage says it should do.

Signed-off-by: Karl Bongers <karlbongers@gmail.com>
diff mbox

Patch

diff --git a/seq/aconnect/aconnect.c b/seq/aconnect/aconnect.c
index 8c66cfd..8d6cebb 100644
--- a/seq/aconnect/aconnect.c
+++ b/seq/aconnect/aconnect.c
@@ -292,6 +292,7 @@  int main(int argc, char **argv)
 			convert_real = 0;
 			break;
 		case 'l':
+			command = LIST;
 			list_subs = 1;
 			break;
 		case 'x':