Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

address help issues in the expanded reset command #182

Merged
merged 2 commits into from
Oct 20, 2020
Merged

address help issues in the expanded reset command #182

merged 2 commits into from
Oct 20, 2020

Conversation

bmc-msft
Copy link
Contributor

The expanded reset command now includes help documentation for each of the arguments.

With this PR, the help looks like this:

$ onefuzz reset --help
usage: onefuzz reset [-h] [-v] [--format {json,raw}] [--query QUERY] [--containers] [--everything] [--jobs] [--notifications] [--pools]
                     [--repros] [--scalesets] [--tasks] [--yes]

optional arguments:
  -h, --help           show this help message and exit
  -v, --verbose        increase output verbosity
  --format {json,raw}  output format
  --query QUERY        JMESPath query string. See http://jmespath.org/ for more information and examples.
  --containers         Delete all the containers. (Default: False. Sets value to True)
  --everything         Delete all containers, pools and managed scalesets. (Default: False. Sets value to True)
  --jobs               Stop all jobs. (Default: False. Sets value to True)
  --notifications      Stop all notifications. (Default: False. Sets value to True)
  --pools              Delete all pools. (Default: False. Sets value to True)
  --repros             Delete all repro vms. (Default: False. Sets value to True)
  --scalesets          Delete all managed scalesets. (Default: False. Sets value to True)
  --tasks              Stop all tasks. (Default: False. Sets value to True)
  --yes                Ignoring to specify "y" in prompt. (Default: False. Sets value to True)
$

@bmc-msft bmc-msft merged commit bf7b36f into microsoft:main Oct 20, 2020
@bmc-msft bmc-msft deleted the fix-reset-help branch October 20, 2020 21:47
@ghost ghost locked as resolved and limited conversation to collaborators Apr 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants