Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jobs update - command parameters/options do not work as documented #1441

Closed
RPicster opened this issue Feb 14, 2023 · 1 comment
Closed

jobs update - command parameters/options do not work as documented #1441

RPicster opened this issue Feb 14, 2023 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@RPicster
Copy link
Contributor

RPicster commented Feb 14, 2023

Description

The command jobs update parameter/option is not working as described in the documentation.
Neither the website documentation, nor the Resoto Shell help is correctly describing how it works.

According to the documentation, the following command should work:
jobs update test-job 'echo hello world'

This does not work, to make it work, one needs to use the same optional parameter format as in jobs add:
jobs update --id test-job 'echo hello world'

This would mean that the job id is an optional parameter (which it is not in jobs update).

We either need to adjust it's behaviour or update the documentation.

Version

3.2

@RPicster RPicster added bug Something isn't working documentation Improvements or additions to documentation and removed bug Something isn't working labels Feb 14, 2023
@lloesche
Copy link
Member

This has been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants