Skip to content

Commit ad3866a

Browse files
committed
fix dashs
1 parent 5435b23 commit ad3866a

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

docs/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ disableSearch = false # default is false
1818
disableNavChevron = true # set true to hide next/prev chevron, default is false
1919
highlightClientSide = false # set true to use highlight.pack.js instead of the default hugo chroma highlighter
2020

21+
[blackfriday]
22+
smartDashes = false
2123

2224
[outputs]
2325
home = [ "HTML", "RSS", "JSON"]

lib/interface/cli/Command.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,11 +243,11 @@ class Command {
243243
if (_.size(option.value.alias) === 1) {
244244
aliases += `-${option.value.alias}`;
245245
} else {
246-
aliases += `- -${option.value.alias}`;
246+
aliases += `--${option.value.alias}`;
247247
}
248248
}
249249
const defaultValue = option.value.default || '';
250-
res.options[group] += `- -${key} | ${aliases} | ${defaultValue} | ${description}\n`;
250+
res.options[group] += `--${key} | ${aliases} | ${defaultValue} | ${description}\n`;
251251
});
252252

253253
res.examples = '';

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codefresh",
3-
"version": "0.8.68",
3+
"version": "0.8.69",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,

0 commit comments

Comments
 (0)