docs(postprocessing): update docs

Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
jkoberg
2024-10-30 15:06:09 +01:00
parent 6ea3f2f782
commit 64ff81575d
2 changed files with 3 additions and 1 deletions

View File

@@ -99,3 +99,5 @@ ocis postprocessing restart # Restarts all uploads where postproc
ocis postprocessing restart -s "finished" # Equivalent to the above
ocis postprocessing restart -s "virusscan" # Restart all uploads currently in virusscan step
```
Note: All above commands containing the word `restart` can also be replaced by `resume`. This changes behaviour slightly. When `restarting` an upload, the whole postprocessing will be (re)done. If `resuming` an upload, it will only continue from the last step that was completed.

View File

@@ -17,7 +17,7 @@ func RestartPostprocessing(cfg *config.Config) *cli.Command {
return &cli.Command{
Name: "resume",
Aliases: []string{"restart"},
Usage: "restart postprocessing for an uploadID",
Usage: "resume postprocessing for an uploadID",
Flags: []cli.Flag{
&cli.StringFlag{
Name: "upload-id",