Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Commands accept arguments they do not use

Closed Beginner friendly
#58 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
88/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
swift
Domain
cli

Research direction

Start in Sources/removemacai/main.swift and compare argument validation in apply with the removemacai tweaks, features, clean, and off commands. Add short error messages and non-zero exits for the three cases described; done when each rejects the invalid arguments consistently with apply.

Written by the indexing model from the issue text.

Description

bug good first issue

I noticed a few commands take arguments and then do nothing with them:

  • removemacai tweaks bogus and removemacai features extra ignore the extra word
  • removemacai clean --bogus treats --bogus as a tweak name instead of rejecting it as an option, which apply does
  • removemacai off --keep with no value says "unknown option --keep" instead of saying --keep needs feature names

Each of these should fail with a short message and a non-zero exit, the way apply handles an unknown option. All of it is in Sources/removemacai/main.swift.

Dominant language
Swift
Stars
4.9k
Forks
144
Avg merge
19h 52m
Merged PRs (30d)
16

Getting set up

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.

More from omlahore/RemoveMacAI

All issues in omlahore/RemoveMacAI

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.