From c7a3c704079f7f6fa25d21b012ca59cf98c02128 Mon Sep 17 00:00:00 2001 From: Dave Hansen Date: Thu, 24 Mar 2011 15:17:42 -0700 Subject: [PATCH] fix force argument handling --- eyefi-unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eyefi-unix.c b/eyefi-unix.c index cc506d6..34f31d8 100755 --- a/eyefi-unix.c +++ b/eyefi-unix.c @@ -341,7 +341,7 @@ int main(int argc, char *argv[]) static struct option long_options[] = { //{"wep", 'x', &passed_wep, 1}, //{"wpa", 'y', &passed_wpa, 1}, - {"force", 0, &force, 0}, + {"force", 0, &force, 1}, {"help", 0, NULL, 'h'}, {"transfer-mode", 2, &transfer_mode, 1}, {"wifi-radio", 2, &wifi_radio_on, 1},