aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2017-11-13 09:45:14 +0100
committerTobias Brunner <tobias@strongswan.org>2017-11-13 09:45:14 +0100
commitf0c7cbd1d731ff7e69a29b53bb32a493bd442af9 (patch)
tree21fe5feb47eaff4c6c75e8bbaba407c0b8827cb2
parent859cb93d2859674a210f3030a0ddadd24498ae93 (diff)
downloadstrongswan-f0c7cbd1d731ff7e69a29b53bb32a493bd442af9.tar.bz2
strongswan-f0c7cbd1d731ff7e69a29b53bb32a493bd442af9.tar.xz
swanctl: Properly register --counters commmand
Use C instead of c, which is already used for --load-conns.
-rw-r--r--src/swanctl/commands/counters.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/swanctl/commands/counters.c b/src/swanctl/commands/counters.c
index 77485c246..ab386b5d8 100644
--- a/src/swanctl/commands/counters.c
+++ b/src/swanctl/commands/counters.c
@@ -140,7 +140,7 @@ static int counters(vici_conn_t *conn)
static void __attribute__ ((constructor))reg()
{
command_register((command_t) {
- counters, 'c', "counters", "list or reset IKE event counters",
+ counters, 'C', "counters", "list or reset IKE event counters",
{"[--name <name>|--all] [--reset] [--raw|--pretty]"},
{
{"help", 'h', 0, "show usage information"},