From: Victor Wagner Date: Thu, 7 Aug 2008 20:23:52 +0000 (+0000) Subject: fixed typo X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;ds=sidebyside;p=oss%2Fbtcli.git fixed typo --- diff --git a/btpasskey/btpasskey.c b/btpasskey/btpasskey.c index 452839d..f918f12 100644 --- a/btpasskey/btpasskey.c +++ b/btpasskey/btpasskey.c @@ -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]); diff --git a/packaging/btpasskey-debian/control b/packaging/btpasskey-debian/control index b662162..29ae916 100644 --- a/packaging/btpasskey-debian/control +++ b/packaging/btpasskey-debian/control @@ -2,7 +2,7 @@ Source: btpasskey Section: admin Priority: extra Maintainer: Victor Wagner -Build-Depends: debhelper (>= 5), libdbus-1-dev +Build-Depends: debhelper (>= 5), libdbus-1-dev, pkg-config Standards-Version: 3.7.2 Package: btpasskey