mozilla-mobile / mozilla-mobile/fxios-ctl

`fxios --clean` option `--all` cannot be shortened to `--a` as described in the `--help` usage guide

Open Beginner friendly
#29 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
1
Forks
2
Avg merge
1m
Merged PRs (30d)
1

Description

I tried to use the --a short form for --all with fxios --clean, but received an error despite this option being documented in the help menu.

> fxios clean --help
OVERVIEW: Clean up various cached or generated files.

USAGE: fxios clean [--packages] [--build] [--derived-data] [--all] [--expose]

OPTIONS:
  -p, --packages          Reset and resolve Swift packages.
  -b, --build             Delete the .build directory.
  -d, --derived-data      Delete ~/Library/Developer/Xcode/DerivedData.
  -a, --all               Clean everything (packages, build, and derived data).
  --expose                Print the commands instead of running them.
  --version               Show the version.
  -h, --help              Show help information.

> fxios clean --a   
Error: Unknown option '--a'. Did you mean '--all'?
Usage: fxios clean [--packages] [--build] [--derived-data] [--all] [--expose]
  See 'fxios clean --help' for more information.

I had to type fxios clean --all for the command to run as expected.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the fxios clean command's option declarations and compare the --all help entry with its accepted aliases. Verify that fxios clean --a behaves like fxios clean --all, and run the relevant command tests if the project provides them.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.