summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2012-06-27 11:43:12 +0200
committerStef Walter <stefw@gnome.org>2012-06-27 11:43:12 +0200
commit89602ce99feb7e8c5a37634c3f577532f82eddbd (patch)
treeec54f7b8ef8c1df51e43d79380e42252271d7eaa /tools
parent483db3ee5d0c0e92dd8ecd8bf0cbefaa6254b6eb (diff)
downloadp11-kit-89602ce99feb7e8c5a37634c3f577532f82eddbd.tar.gz
tools: Don't barf when p11-kit -h
Diffstat (limited to 'tools')
-rw-r--r--tools/p11-kit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/p11-kit.c b/tools/p11-kit.c
index d154fe6..5bb31ca 100644
--- a/tools/p11-kit.c
+++ b/tools/p11-kit.c
@@ -245,7 +245,7 @@ main (int argc, char *argv[])
operation oper = NULL;
int opt;
- while ((opt = getopt (argc, argv, "lv")) != -1) {
+ while ((opt = getopt (argc, argv, "hlv")) != -1) {
switch (opt) {
case 'l':
if (oper != NULL)