aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/show.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-04-20 20:21:50 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-04-20 22:53:00 +0200
commitc4a6adf85390e9232fc9589b95510f958c0d7d8c (patch)
treeabcacf18a75b2c3ac27ebc85c891cdc8b38dadd2 /src/tools/show.c
parenttools: argc is always 1 (diff)
downloadwireguard-monolithic-historical-c4a6adf85390e9232fc9589b95510f958c0d7d8c.tar.xz
wireguard-monolithic-historical-c4a6adf85390e9232fc9589b95510f958c0d7d8c.zip
tools: no hyphen in preshared, to keep uniformity
Diffstat (limited to 'src/tools/show.c')
-rw-r--r--src/tools/show.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/show.c b/src/tools/show.c
index c9ba473..8134883 100644
--- a/src/tools/show.c
+++ b/src/tools/show.c
@@ -217,7 +217,7 @@ static void pretty_print(struct wgdevice *device)
if (memcmp(device->private_key, zero, WG_KEY_LEN))
terminal_printf(" " TERMINAL_BOLD "private key" TERMINAL_RESET ": %s\n", masked_key(device->private_key));
if (memcmp(device->preshared_key, zero, WG_KEY_LEN))
- terminal_printf(" " TERMINAL_BOLD "pre-shared key" TERMINAL_RESET ": %s\n", masked_key(device->preshared_key));
+ terminal_printf(" " TERMINAL_BOLD "preshared key" TERMINAL_RESET ": %s\n", masked_key(device->preshared_key));
if (device->port)
terminal_printf(" " TERMINAL_BOLD "listening port" TERMINAL_RESET ": %u\n", device->port);
if (device->fwmark)