aboutsummaryrefslogtreecommitdiffstats
path: root/get-contact-sites.c
diff options
context:
space:
mode:
Diffstat (limited to 'get-contact-sites.c')
-rw-r--r--get-contact-sites.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/get-contact-sites.c b/get-contact-sites.c
index 06a8d6b..dcc1d17 100644
--- a/get-contact-sites.c
+++ b/get-contact-sites.c
@@ -1,7 +1,7 @@
/* See LICENSE file for copyright and license details. */
#include "common.h"
-USAGE("[-c context] [-a address] [-CA] contact-id ...");
+USAGE("[-a address] [-c context] [-AC] contact-id ...");
int
@@ -16,22 +16,22 @@ main(int argc, char *argv[])
size_t i;
ARGBEGIN {
- case 'c':
- if (lookup_ctx)
- usage();
- lookup_ctx = ARG();
- break;
case 'a':
if (lookup_addr)
usage();
lookup_addr = ARG();
break;
- case 'C':
- display_ctx = 1;
+ case 'c':
+ if (lookup_ctx)
+ usage();
+ lookup_ctx = ARG();
break;
case 'A':
display_addr = 1;
break;
+ case 'C':
+ display_ctx = 1;
+ break;
default:
usage();
} ARGEND;