Skip to content

Commit f1ddae8

Browse files
authored
Merge pull request #792 from CleverCloud/davlgd-help-texts-3.8
docs: update some texts
2 parents de90024 + 2aa10ea commit f1ddae8

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

bin/clever.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ function run () {
169169
metavar: 'after',
170170
aliases: ['since'],
171171
parser: Parsers.date,
172-
description: 'Fetch logs after this date/time (ISO8601)',
172+
description: 'Fetch logs after this date/time (ISO8601 date, positive number in seconds or duration, e.g.: 1h)',
173173
}),
174174
aliasCreation: cliparse.option('alias', {
175175
aliases: ['a'],
@@ -190,7 +190,7 @@ function run () {
190190
metavar: 'before',
191191
aliases: ['until'],
192192
parser: Parsers.date,
193-
description: 'Fetch logs before this date/time (ISO8601 date or duration, positive number in seconds or duration Ex: 1h)',
193+
description: 'Fetch logs before this date/time (ISO8601 date, positive number in seconds or duration, e.g.: 1h)',
194194
}),
195195
branch: cliparse.option('branch', {
196196
aliases: ['b'],
@@ -702,7 +702,7 @@ function run () {
702702
const appCreateCommand = cliparse.command('create', {
703703
description: 'Create an application',
704704
args: [args.appNameCreation],
705-
options: [opts.instanceType, opts.orgaIdOrName, opts.aliasCreation, opts.region, opts.github, opts.humanJsonOutputFormat, opts.taskCommand],
705+
options: [opts.instanceType, opts.orgaIdOrName, opts.aliasCreation, opts.region, opts.github, opts.taskCommand, opts.humanJsonOutputFormat],
706706
}, create('create'));
707707

708708
// CURL COMMAND
@@ -1174,7 +1174,7 @@ function run () {
11741174
name: 'clever',
11751175
description: 'CLI tool to manage Clever Cloud\'s data and products',
11761176
version: pkg.version,
1177-
options: [opts.color, opts.verbose, opts.updateNotifier],
1177+
options: [opts.color, opts.updateNotifier, opts.verbose],
11781178
helpCommand: false,
11791179
commands,
11801180
});

docs/applications-config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Clever Cloud Applications: configuration
22

3-
A Clever Cloud application can easily be configured once created, through following commands. All can target a specific application, adding `--app APP_ID_OR_NAME` or a local alias (`--alias`, `-a`).
3+
A Clever Cloud application can easily be configured once created, through following commands. Each can target a specific application, adding `--app APP_ID_OR_NAME` or a local alias (`--alias`, `-a`).
44

55
## config
66

docs/applications-deployment-lifecycle.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ You can also get logs from a specific timeline, deployment or add-on through opt
9696

9797
```
9898
[--before, --until] BEFORE Fetch logs before this date/time (ISO8601 date, positive number in seconds or duration, e.g.: 1h)
99-
[--after, --since] AFTER Fetch logs after this date/time (ISO8601)
99+
[--after, --since] AFTER Fetch logs after this date/time (ISO8601 date, positive number in seconds or duration, e.g.: 1h)
100100
[--search] SEARCH Fetch logs matching this pattern
101101
[--deployment-id] DEPLOYMENT_ID Fetch logs for a given deployment
102102
[--addon] ADDON_ID Add-on ID
@@ -118,7 +118,7 @@ You can also get access logs from a specific timeline or add-on through options,
118118

119119
```
120120
[--before, --until] BEFORE Fetch logs before this date/time (ISO8601 date, positive number in seconds or duration, e.g.: 1h)
121-
[--after, --since] AFTER Fetch logs after this date/time (ISO8601)
121+
[--after, --since] AFTER Fetch logs after this date/time (ISO8601 date, positive number in seconds or duration, e.g.: 1h)
122122
[--format, -F] FORMAT Output format (human, json, json-stream) (default: human)
123123
```
124124

src/command-options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function getExitOnOption () {
4040
const availableExitOn = ['deploy-start', 'deploy-end', 'never'];
4141
return cliparse.option('exit-on', {
4242
aliases: ['e'],
43-
metavar: 'exiton',
43+
metavar: 'step',
4444
parser: (exitOnStrategy) => {
4545
return availableExitOn.includes(exitOnStrategy)
4646
? cliparse.parsers.success(exitOnStrategy)

0 commit comments

Comments
 (0)