]> www.wagner.pp.ru Git - oss/btcli.git/commitdiff
fixed typo master
authorVictor Wagner <vitus@wagner.pp.ru>
Thu, 7 Aug 2008 20:23:52 +0000 (20:23 +0000)
committerVictor Wagner <vitus@wagner.pp.ru>
Thu, 7 Aug 2008 20:23:52 +0000 (20:23 +0000)
btpasskey/btpasskey.c
packaging/btpasskey-debian/control

index 452839d4493f36c8b16453a9d3fc53b2741a83a2..f918f12715a356f99acd55954e8d31ebfd7d3a97 100644 (file)
@@ -379,7 +379,7 @@ static void usage(const char *progname)
        printf("Options:\n"
        "\t -p, --path agent-path - set D-Bus object path for agent\n"
        "\t -d, --discoverable - switch default adapter into discoverable\n" 
-       "\t\tmode whie waiting for pairing request\n"
+       "\t\tmode while waiting for pairing request\n"
        "\t -P, --pair address - initiate pairing with specified address\n"
        "\t -r, --remove address - remove pairing with specified device and exit\n");
 }
@@ -427,6 +427,7 @@ int main(int argc, char *argv[])
                        exit(0);
                case 'V':
                        printf("btpasskey " VERSION " Copyright (c) 2007-2008, Victor Wagner\n");
+                       exit(0);
                default:
                        fprintf(stderr,"Invalid option -%c. Use %s --help\n",
                        opt,argv[0]);
index b662162e9c59763d62f51f99f97bfab583fd0a11..29ae916c0bcdfad6f52429f624567214ad39eb1e 100644 (file)
@@ -2,7 +2,7 @@ Source: btpasskey
 Section: admin
 Priority: extra
 Maintainer: Victor Wagner <vitus@wagner.pp.ru>
-Build-Depends: debhelper (>= 5), libdbus-1-dev
+Build-Depends: debhelper (>= 5), libdbus-1-dev, pkg-config
 Standards-Version: 3.7.2
 
 Package: btpasskey