From d27b02712974f42872ace640343b997dc8359f57 Mon Sep 17 00:00:00 2001 From: Robert Stein Date: Tue, 27 Aug 2019 22:20:21 +0200 Subject: [PATCH] fix: adapt chalk string syntax --- bin/wifi.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/wifi.js b/bin/wifi.js index 6e21d92..e206e64 100755 --- a/bin/wifi.js +++ b/bin/wifi.js @@ -18,34 +18,34 @@ const optionDefinitions = [ { name: 'connect', type: Boolean, - description: 'Connect to a wifi network. It needs options [bold]{--ssid} and [bold]{--password}. A specific interface may be selected by adding option [bold]{--iface}' + description: 'Connect to a wifi network. It needs options {bold --ssid} and {bold --password}. A specific interface may be selected by adding option {bold --iface}' }, { name: 'disconnect', type: Boolean, - description: 'Disconnect from a wifi network. A specific interface may be selected by adding option [bold]{--iface}' + description: 'Disconnect from a wifi network. A specific interface may be selected by adding option {bold --iface}' }, { name: 'current', type: Boolean, - description: 'List the current wifi connections. A specific interface may be selected by adding option [bold]{--iface}' + description: 'List the current wifi connections. A specific interface may be selected by adding option {bold --iface}' }, { name: 'ssid', type: String, - typeLabel: '[underline]{ssid}', + typeLabel: '{underline ssid}', description: 'Ssid to connect to the wifi.' }, { name: 'password', type: String, - typeLabel: '[underline]{password}', + typeLabel: '{underline password}', description: 'Password to connect to the wifi.' }, { name: 'iface', type: String, - typeLabel: '[underline]{interface}', + typeLabel: '{underline interface}', description: 'Network interface to connect to the wifi.' }, {