Skip to content

Commit 501c2ae

Browse files
committed
Build CLI docs and shell completions
1 parent b4eea9d commit 501c2ae

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed

docs/cli/cozy-stack_instances_fsck.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ cozy-stack instances fsck <domain> [flags]
2727
### Options
2828

2929
```
30+
--fail-fast Stop the FSCK on the first error
3031
--files-consistency Check the files consistency only (between CouchDB and Swift)
3132
-h, --help help for fsck
3233
--index-integrity Check the index integrity only

docs/cli/cozy-stack_swift.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ cozy-stack swift <command> [flags]
2929
### SEE ALSO
3030

3131
* [cozy-stack](cozy-stack.md) - cozy-stack is the main command
32-
* [cozy-stack swift get](cozy-stack_swift_get.md) -
33-
* [cozy-stack swift ls](cozy-stack_swift_ls.md) -
34-
* [cozy-stack swift put](cozy-stack_swift_put.md) -
35-
* [cozy-stack swift rm](cozy-stack_swift_rm.md) -
32+
* [cozy-stack swift get](cozy-stack_swift_get.md) -
33+
* [cozy-stack swift ls](cozy-stack_swift_ls.md) -
3634
* [cozy-stack swift ls-layouts](cozy-stack_swift_ls-layouts.md) - Count layouts by types (v1, v2a, v2b, v3a, v3b)
35+
* [cozy-stack swift put](cozy-stack_swift_put.md) -
36+
* [cozy-stack swift rm](cozy-stack_swift_rm.md) -
37+

docs/cli/cozy-stack_swift_ls-layouts.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,4 @@ $ cozy-stack swift ls-layouts
3636
### SEE ALSO
3737

3838
* [cozy-stack swift](cozy-stack_swift.md) - Interact directly with OpenStack Swift object storage
39+

scripts/completion/cozy-stack.bash

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1947,6 +1947,8 @@ _cozy-stack_instances_fsck()
19471947
flags_with_completion=()
19481948
flags_completion=()
19491949

1950+
flags+=("--fail-fast")
1951+
local_nonpersistent_flags+=("--fail-fast")
19501952
flags+=("--files-consistency")
19511953
local_nonpersistent_flags+=("--files-consistency")
19521954
flags+=("--index-integrity")

scripts/completion/cozy-stack.zsh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -919,6 +919,7 @@ function _cozy-stack_instances_find-oauth-client {
919919

920920
function _cozy-stack_instances_fsck {
921921
_arguments \
922+
'--fail-fast[Stop the FSCK on the first error]' \
922923
'--files-consistency[Check the files consistency only (between CouchDB and Swift)]' \
923924
'--index-integrity[Check the index integrity only]' \
924925
'--json[Output more informations in JSON format]' \
@@ -1505,3 +1506,4 @@ function _cozy-stack_version {
15051506
'--host[server host]:' \
15061507
'(-p --port)'{-p,--port}'[server port]:'
15071508
}
1509+

0 commit comments

Comments
 (0)